DSC
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | Protected Attributes | List of all members
is_mesh::Cylinder Class Reference
Inheritance diagram for is_mesh::Cylinder:
is_mesh::Point is_mesh::Geometry is_mesh::Circle

Public Member Functions

 Cylinder (vec3 c, double r, double h, vec3 up=vec3(0., 1., 0.))
 
 Cylinder (vec3 c, double r, vec3 up)
 
double get_radius () const
 
double get_height () const
 
vec3 get_up_direction () const
 
virtual bool is_inside (vec3 p) const override
 
virtual void clamp_vector (const vec3 &p, vec3 &v) const override
 
virtual vec3 project (const vec3 &p) const
 
- Public Member Functions inherited from is_mesh::Point
 Point (vec3 c)
 
vec3 get_point () const
 
- Public Member Functions inherited from is_mesh::Geometry
void invert ()
 
virtual bool is_all_inside (std::vector< vec3 > pos) const
 

Protected Attributes

double sqr_radius
 
double height
 
vec3 up_direction
 
- Protected Attributes inherited from is_mesh::Point
vec3 point
 
- Protected Attributes inherited from is_mesh::Geometry
bool inverse = false
 

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