#include <bvgl_triangle_3d.h>
Public Member Functions | |
| bvgl_triangle_3d () | |
| Default constructor (creates empty triangle). | |
| bvgl_triangle_3d (vgl_point_3d< Type > const &corner1, vgl_point_3d< Type > const &corner2, vgl_point_3d< Type > const &corner3) | |
| Construct using two corner points. | |
| vgl_point_3d< Type > | operator[] (int index) |
| access points. | |
| vgl_point_3d< Type > const & | operator[] (int index) const |
| access points. | |
| vcl_ostream & | print (vcl_ostream &) const |
| Write "<vgl_box_3d x0,y0,z0 to x1,y1,z1>" to stream. | |
| vcl_ostream & | write (vcl_ostream &) const |
| Write "x0 y0 z0 x1 y1 z1(endl)" to stream. | |
| vcl_istream & | read (vcl_istream &) |
| Read x0,y0,z0,x1,y1,z1 from stream. | |
Private Attributes | |
| vgl_point_3d< Type > | points_ [3] |
Definition at line 15 of file bvgl_triangle_3d.h.
| bvgl_triangle_3d< Type >::bvgl_triangle_3d | ( | ) |
Default constructor (creates empty triangle).
Definition at line 17 of file bvgl_triangle_3d.txx.
| bvgl_triangle_3d< Type >::bvgl_triangle_3d | ( | vgl_point_3d< Type > const & | corner1, |
| vgl_point_3d< Type > const & | corner2, | ||
| vgl_point_3d< Type > const & | corner3 | ||
| ) |
Construct using two corner points.
Definition at line 25 of file bvgl_triangle_3d.txx.
| vgl_point_3d<Type> bvgl_triangle_3d< Type >::operator[] | ( | int | index | ) | [inline] |
access points.
Definition at line 28 of file bvgl_triangle_3d.h.
| vgl_point_3d<Type> const& bvgl_triangle_3d< Type >::operator[] | ( | int | index | ) | const [inline] |
access points.
Definition at line 30 of file bvgl_triangle_3d.h.
| vcl_ostream & bvgl_triangle_3d< Type >::print | ( | vcl_ostream & | s | ) | const |
Write "<vgl_box_3d x0,y0,z0 to x1,y1,z1>" to stream.
Definition at line 35 of file bvgl_triangle_3d.txx.
| vcl_istream & bvgl_triangle_3d< Type >::read | ( | vcl_istream & | is | ) |
Read x0,y0,z0,x1,y1,z1 from stream.
Definition at line 49 of file bvgl_triangle_3d.txx.
| vcl_ostream & bvgl_triangle_3d< Type >::write | ( | vcl_ostream & | s | ) | const |
Write "x0 y0 z0 x1 y1 z1(endl)" to stream.
Definition at line 43 of file bvgl_triangle_3d.txx.
vgl_point_3d<Type> bvgl_triangle_3d< Type >::points_[3] [private] |
Definition at line 44 of file bvgl_triangle_3d.h.
1.7.5.1