Public Member Functions | Private Attributes | List of all members
vgl_cylinder< Type > Class Template Reference

#include <vgl_cylinder.h>

Public Member Functions

 vgl_cylinder (void)
 Default constructor. More...
 
 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)=default
 
vgl_point_3d< Type > center () const
 getters. More...
 
Type radius () const
 
Type length () const
 
vgl_vector_3d< Type > orientation () const
 
void set_center (vgl_point_3d< Type > cntr)
 setters. More...
 
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. More...
 
std::ostream & print (std::ostream &s) const
 Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream. More...
 

Private Attributes

vgl_point_3d< Type > center_
 
Type radius_
 
Type length_
 
vgl_vector_3d< Type > orient_
 

Detailed Description

template<class Type>
class vgl_cylinder< Type >

Definition at line 22 of file vgl_cylinder.h.

Constructor & Destructor Documentation

◆ vgl_cylinder() [1/5]

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( void  )
inline

Default constructor.

Definition at line 31 of file vgl_cylinder.h.

◆ vgl_cylinder() [2/5]

template<class Type>
vgl_cylinder< Type >::vgl_cylinder ( const Type  v[8])
inline

Definition at line 33 of file vgl_cylinder.h.

◆ vgl_cylinder() [3/5]

template<class Type>
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() [4/5]

template<class Type>
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() [5/5]

template<class Type>
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()

template<class Type>
vgl_cylinder< Type >::~vgl_cylinder ( void  )
default

Member Function Documentation

◆ center()

template<class Type>
vgl_point_3d<Type> vgl_cylinder< Type >::center ( ) const
inline

getters.

Definition at line 48 of file vgl_cylinder.h.

◆ length()

template<class Type>
Type vgl_cylinder< Type >::length ( ) const
inline

Definition at line 50 of file vgl_cylinder.h.

◆ operator==()

template<class Type>
bool vgl_cylinder< T >::operator== ( vgl_cylinder< Type > const &  cyl) const

operations.

Definition at line 13 of file vgl_cylinder.hxx.

◆ orientation()

template<class Type>
vgl_vector_3d<Type> vgl_cylinder< Type >::orientation ( ) const
inline

Definition at line 51 of file vgl_cylinder.h.

◆ print()

template<class T >
std::ostream & vgl_cylinder< T >::print ( std::ostream &  s) const

Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream.

Definition at line 23 of file vgl_cylinder.hxx.

◆ radius()

template<class Type>
Type vgl_cylinder< Type >::radius ( ) const
inline

Definition at line 49 of file vgl_cylinder.h.

◆ set_center()

template<class Type>
void vgl_cylinder< Type >::set_center ( vgl_point_3d< Type >  cntr)
inline

setters.

Definition at line 54 of file vgl_cylinder.h.

◆ set_length()

template<class Type>
void vgl_cylinder< Type >::set_length ( Type  len)
inline

Definition at line 56 of file vgl_cylinder.h.

◆ set_orientation()

template<class Type>
void vgl_cylinder< Type >::set_orientation ( vgl_vector_3d< Type >  orient)
inline

Definition at line 57 of file vgl_cylinder.h.

◆ set_radius()

template<class Type>
void vgl_cylinder< Type >::set_radius ( Type  rad)
inline

Definition at line 55 of file vgl_cylinder.h.

Member Data Documentation

◆ center_

template<class Type>
vgl_point_3d<Type> vgl_cylinder< Type >::center_
private

Definition at line 24 of file vgl_cylinder.h.

◆ length_

template<class Type>
Type vgl_cylinder< Type >::length_
private

Definition at line 26 of file vgl_cylinder.h.

◆ orient_

template<class Type>
vgl_vector_3d<Type> vgl_cylinder< Type >::orient_
private

Definition at line 27 of file vgl_cylinder.h.

◆ radius_

template<class Type>
Type vgl_cylinder< Type >::radius_
private

Definition at line 25 of file vgl_cylinder.h.


The documentation for this class was generated from the following files: