40#ifndef LM_BUILDER_SPHERE_H_
41#define LM_BUILDER_SPHERE_H_
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h: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
virtual ~Sphere()
Destroy the Sphere.
Definition Mesh.cpp:54
virtual double getVolume()
Get the volume bounded by the sphere.
Definition Mesh.cpp:125
si_dist_t radius
Definition Sphere.h:86
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition Mesh.cpp:77
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition Mesh.cpp:58
virtual si_dist_t getRadius()
Get the radius of the sphere.
Definition Sphere.h:80
Sphere(point center, si_dist_t radius, site_t type)
Create a Sphere.
Definition Sphere.cpp:48
point center
Definition Sphere.h:85
virtual void setCenter(point center)
Set the center of the sphere.
Definition Mesh.cpp:114
virtual point getCenter()
Get the center of the sphere.
Definition Sphere.h:78
Definition Capsule.cpp:47
Definition Capsule.cpp:46
Type to store a position in space.
Definition Shape.h:67