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