40#ifndef LM_BUILDER_TORUS_H_ 
   41#define LM_BUILDER_TORUS_H_ 
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h:63
vector up
Definition Shape.h:382
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
virtual si_dist_t getRadius2()
Get the small radius of the sphere.
Definition Torus.h:85
virtual void setCenter(point center)
Set the center of the sphere.
Definition Torus.cpp:125
Torus(point center, si_dist_t r1, si_dist_t r2, site_t type, vector orientation=vector(0.0, 0.0, 1.0), vector up=vector(0.0, 1.0, 0.0))
Create a Torus.
Definition Torus.cpp:48
si_dist_t radius2
Definition Torus.h:92
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition Torus.cpp:86
point center
Definition Torus.h:90
si_dist_t radius1
Definition Torus.h:91
virtual double getVolume()
Get the volume bounded by the sphere.
Definition Torus.cpp:136
virtual ~Torus()
Destroy the Torus.
Definition Torus.cpp:67
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition Torus.cpp:71
virtual point getCenter()
Get the center of the sphere.
Definition Torus.h:81
virtual si_dist_t getRadius1()
Get the large radius of the sphere.
Definition Torus.h:83
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