40#ifndef LM_BUILDER_CAPSULESHELL_H_ 
   41#define LM_BUILDER_CAPSULESHELL_H_ 
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h:63
virtual point getP1()
Get point of first end of cylinder.
Definition CapsuleShell.h:77
si_dist_t length
Definition CapsuleShell.h:97
virtual double getVolume()
Get the total enclosed voluem of the CapsuleShell.
Definition CapsuleShell.cpp:160
virtual ~CapsuleShell()
Definition CapsuleShell.cpp:77
CapsuleShell(point p1, point p2, si_dist_t innerRadius, si_dist_t outerRadius, site_t type)
Create a Capsule.
Definition CapsuleShell.cpp:50
virtual si_dist_t getOuterRadius()
Get the outer radius of the cylinder.
Definition CapsuleShell.h:83
virtual si_dist_t getInnerRadius()
Get the inner radius of the cylinder.
Definition CapsuleShell.h:81
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition CapsuleShell.cpp:81
point p2
Definition CapsuleShell.h:95
si_dist_t innerRadius
Definition CapsuleShell.h:96
virtual point getP2()
Get point of second end of cylinder.
Definition CapsuleShell.h:79
point p1
Definition CapsuleShell.h:95
si_dist_t outerRadius
Definition CapsuleShell.h:96
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition CapsuleShell.cpp:93
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