40#ifndef LM_BUILDER_CAPSULE_H_ 
   41#define LM_BUILDER_CAPSULE_H_ 
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h:63
si_dist_t radius
Definition Capsule.h:90
virtual double getVolume()
Get the total internal volume of the Capsule.
Definition Capsule.cpp:163
virtual ~Capsule()
Destroy the Capsule.
Definition Capsule.cpp:76
virtual point getP2()
Get point of second end of cylinder.
Definition Capsule.h:79
virtual si_dist_t getRadius()
Get the radius of the cylinder/hemisphere ends.
Definition Capsule.h:81
point p1
Definition Capsule.h:89
virtual point getP1()
Get point of first end of cylinder.
Definition Capsule.h:77
Capsule(point p1, point p2, si_dist_t radius, site_t type)
Create a Capsule.
Definition Capsule.cpp:50
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition Capsule.cpp:80
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition Capsule.cpp:92
point p2
Definition Capsule.h:89
si_dist_t length
Definition Capsule.h:91
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
Definition Capsule.cpp:46
The bounds for a shape represented as a rectangular box.
Definition Shape.h:110
Type to store a position in space.
Definition Shape.h:67