40#ifndef LM_BUILDER_CONE_H_
41#define LM_BUILDER_CONE_H_
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h:63
virtual si_dist_t getHeight()
Get the height of the cone.
Definition Cone.h:81
vector normal
Definition Cone.h:89
point center
Definition Cone.h:86
virtual point getCenter()
Get the center of the cone.
Definition Cone.h:77
si_dist_t radius
Definition Cone.h:87
Cone(point center, si_dist_t radius, si_dist_t height, site_t type, vector normal=vector(1.0, 0.0, 0.0))
Create a Cone.
Definition Cone.cpp:48
virtual double getVolume()
Get the volume bounded by the cone.
Definition Cone.cpp:93
virtual si_dist_t getRadius()
Get the radius of the cone.
Definition Cone.h:79
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition Cone.cpp:68
virtual ~Cone()
Destroy the Sphere.
Definition Cone.cpp:60
si_dist_t height
Definition Cone.h:88
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition Cone.cpp:63
site_t type
Definition Shape.h:378
Shape(ShapeType shapeType, bounding_box boundingBox, site_t type, vector at=vector(0.0, 0.0, 1.0), vector up=vector(0.0, 1.0, 0.0))
Create a Shape.
Definition Shape.cpp:129
Definition Capsule.cpp:47
struct lm::builder::vector vector
Definition Capsule.cpp:46
Type to store a position in space.
Definition Shape.h:67
A vector which points in a direction.
Definition Shape.h:153