40#ifndef LM_BUILDER_ELLIPSE_H_
41#define LM_BUILDER_ELLIPSE_H_
62 Ellipse(
point center,
si_dist_t r1,
si_dist_t r2,
si_dist_t r3,
site_t type,
vector orientation1 =
vector(0.0,0.0,1.0),
vector orientation2 =
vector(0.0,1.0,0.0));
uint32_t site_t
Definition Lattice.h:74
double si_dist_t
Definition Types.h:63
Ellipse(point center, si_dist_t r1, si_dist_t r2, si_dist_t r3, site_t type, vector orientation1=vector(0.0, 0.0, 1.0), vector orientation2=vector(0.0, 1.0, 0.0))
Create a Ellipse.
Definition Ellipse.cpp:48
point center
Definition Ellipse.h:93
virtual bool intersects(Shape *query)
Check if two shapes intersect.
Definition Ellipse.cpp:72
virtual si_dist_t getRadius1()
Get the first radius of the sphere.
Definition Ellipse.h:84
virtual si_dist_t getRadius3()
Get the third radius of the sphere.
Definition Ellipse.h:88
virtual ~Ellipse()
Destroy the Torus.
Definition Ellipse.cpp:68
virtual void setCenter(point center)
Set the center of the sphere.
Definition Ellipse.cpp:113
virtual si_dist_t getRadius2()
Get the second radius of the sphere.
Definition Ellipse.h:86
si_dist_t r1
Definition Ellipse.h:94
virtual point getCenter()
Get the center of the sphere.
Definition Ellipse.h:82
si_dist_t r3
Definition Ellipse.h:96
si_dist_t r2
Definition Ellipse.h:95
virtual double getVolume()
Get the volume bounded by the sphere.
Definition Ellipse.cpp:125
virtual bool contains(point query)
Determine if the shape contains the specified point.
Definition Ellipse.cpp:80
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
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