#include <vgl_cylinder.h>
Public Member Functions | |
vgl_cylinder (void) | |
Default constructor. | |
vgl_cylinder (const Type v[8]) | |
vgl_cylinder (Type cx, Type cy, Type cz, Type rad, Type len) | |
vgl_cylinder (vgl_point_3d< Type > cntr, Type rad, Type len) | |
vgl_cylinder (vgl_point_3d< Type > cntr, Type rad, Type len, vgl_vector_3d< Type > orient) | |
~vgl_cylinder (void) | |
vgl_point_3d< Type > | center () const |
getters. | |
Type | radius () const |
Type | length () const |
vgl_vector_3d< Type > | orientation () const |
void | set_center (vgl_point_3d< Type > cntr) |
setters. | |
void | set_radius (Type rad) |
void | set_length (Type len) |
void | set_orientation (vgl_vector_3d< Type > orient) |
bool | operator== (vgl_cylinder< Type > const &cyl) const |
operations. | |
vcl_ostream & | print (vcl_ostream &s) const |
Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream. | |
Private Attributes | |
vgl_point_3d< Type > | center_ |
Type | radius_ |
Type | length_ |
vgl_vector_3d< Type > | orient_ |
Definition at line 22 of file vgl_cylinder.h.
vgl_cylinder< Type >::vgl_cylinder | ( | void | ) | [inline] |
Default constructor.
Definition at line 31 of file vgl_cylinder.h.
vgl_cylinder< Type >::vgl_cylinder | ( | const Type | v[8] | ) | [inline] |
Definition at line 33 of file vgl_cylinder.h.
vgl_cylinder< Type >::vgl_cylinder | ( | Type | cx, |
Type | cy, | ||
Type | cz, | ||
Type | rad, | ||
Type | len | ||
) | [inline] |
Definition at line 36 of file vgl_cylinder.h.
vgl_cylinder< Type >::vgl_cylinder | ( | vgl_point_3d< Type > | cntr, |
Type | rad, | ||
Type | len | ||
) | [inline] |
Definition at line 39 of file vgl_cylinder.h.
vgl_cylinder< Type >::vgl_cylinder | ( | vgl_point_3d< Type > | cntr, |
Type | rad, | ||
Type | len, | ||
vgl_vector_3d< Type > | orient | ||
) | [inline] |
Definition at line 42 of file vgl_cylinder.h.
vgl_cylinder< Type >::~vgl_cylinder | ( | void | ) | [inline] |
Definition at line 45 of file vgl_cylinder.h.
vgl_point_3d<Type> vgl_cylinder< Type >::center | ( | ) | const [inline] |
getters.
Definition at line 48 of file vgl_cylinder.h.
Type vgl_cylinder< Type >::length | ( | ) | const [inline] |
Definition at line 50 of file vgl_cylinder.h.
bool vgl_cylinder< Type >::operator== | ( | vgl_cylinder< Type > const & | cyl | ) | const |
operations.
vgl_vector_3d<Type> vgl_cylinder< Type >::orientation | ( | ) | const [inline] |
Definition at line 51 of file vgl_cylinder.h.
vcl_ostream & vgl_cylinder< T >::print | ( | vcl_ostream & | s | ) | const |
Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream.
Definition at line 20 of file vgl_cylinder.txx.
Type vgl_cylinder< Type >::radius | ( | ) | const [inline] |
Definition at line 49 of file vgl_cylinder.h.
void vgl_cylinder< Type >::set_center | ( | vgl_point_3d< Type > | cntr | ) | [inline] |
setters.
Definition at line 54 of file vgl_cylinder.h.
void vgl_cylinder< Type >::set_length | ( | Type | len | ) | [inline] |
Definition at line 56 of file vgl_cylinder.h.
void vgl_cylinder< Type >::set_orientation | ( | vgl_vector_3d< Type > | orient | ) | [inline] |
Definition at line 57 of file vgl_cylinder.h.
void vgl_cylinder< Type >::set_radius | ( | Type | rad | ) | [inline] |
Definition at line 55 of file vgl_cylinder.h.
vgl_point_3d<Type> vgl_cylinder< Type >::center_ [private] |
Definition at line 24 of file vgl_cylinder.h.
Type vgl_cylinder< Type >::length_ [private] |
Definition at line 26 of file vgl_cylinder.h.
vgl_vector_3d<Type> vgl_cylinder< Type >::orient_ [private] |
Definition at line 27 of file vgl_cylinder.h.
Type vgl_cylinder< Type >::radius_ [private] |
Definition at line 25 of file vgl_cylinder.h.