40#ifndef LM_BUILDER_CYLINDER_H_
41#define LM_BUILDER_CYLINDER_H_
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h:63
Cylinder(point p1, point p2, si_dist_t radius, site_t type)
Create a Cylinder.
Definition Cylinder.cpp:49
virtual si_dist_t getRadius()
Get the radius of the cylinder/hemisphere ends.
Definition Cylinder.h:81
point p1
Definition Cylinder.h:89
si_dist_t radius
Definition Cylinder.h:90
si_dist_t length
Definition Cylinder.h:91
virtual double getVolume()
Get the total internal volume of the Capsule.
Definition Cylinder.cpp:144
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition Cylinder.cpp:85
virtual point getP2()
Get point of second end of cylinder.
Definition Cylinder.h:79
point p2
Definition Cylinder.h:89
virtual point getP1()
Get point of first end of cylinder.
Definition Cylinder.h:77
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition Cylinder.cpp:97
virtual ~Cylinder()
Destroy the Capsule.
Definition Cylinder.cpp:81
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