#include <Ellipse.h>
|  | 
|  | 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. 
 | 
| virtual | ~Ellipse () | 
|  | Destroy the Torus. 
 | 
| virtual bool | intersects (Shape *query) | 
|  | Check if two shapes intersect. 
 | 
| virtual bool | contains (point query) | 
|  | Determine if the shape contains the specified point. 
 | 
| virtual bool | contains (Shape *query) | 
|  | Determine if the shape contains the specified shape. 
 | 
| virtual void | setCenter (point center) | 
|  | Set the center of the sphere. 
 | 
| virtual point | getCenter () | 
|  | Get the center of the sphere. 
 | 
| virtual si_dist_t | getRadius1 () | 
|  | Get the first radius of the sphere. 
 | 
| virtual si_dist_t | getRadius2 () | 
|  | Get the second radius of the sphere. 
 | 
| virtual si_dist_t | getRadius3 () | 
|  | Get the third radius of the sphere. 
 | 
| virtual double | getVolume () | 
|  | Get the volume bounded by the sphere. 
 | 
|  | 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. 
 | 
| virtual | ~Shape () | 
|  | Destroy the Shape. 
 | 
| virtual bool | boundingBoxesIntersect (Shape *query) | 
|  | Checks if another shape's bounding box interstects with this shape's bounding box. 
 | 
| virtual bounding_box | getBoundingBox () | 
|  | Get the bounding box. 
 | 
| virtual site_t | getType () | 
|  | Get the site type associated with the shape. 
 | 
| virtual ShapeType | getShapeType () | 
|  | Get the shape type. 
 | 
| virtual void | discretizeTo (lm::rdme::Lattice *lattice) | 
|  | Discretize the object to the specified lattice. 
 | 
|  | 
| enum | ShapeType { SPHERE = 1
, HEMISPHERE = 2
, CYLINDER = 3
, CAPSULE = 4
,
 CUBOID = 5
, CAPSULE_SHELL = 6
, UNION = 7
, DIFFERENCE = 8
,
 INTERSECTION = 9
, MESH = 10
, TORUS = 11
, ELLIPSE = 12
,
 CONE = 13
, UNIONSET = 14
 }
 | 
|  | Possible shape types that can be used in Lattice Microbes.  More... 
 | 
| double | integrateToPercentThreshold (double percent) | 
| double | integrateToCount (int count) | 
| virtual point | minBounds (point p1, point p2) const | 
| virtual point | maxBounds (point p1, point p2) const | 
◆ Ellipse()
      
        
          | lm::builder::Ellipse::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. 
- Parameters
- 
  
    | center | Point center of the circle of the slice plane through the sphere |  | r1 | First axis radius of the Ellipse |  | r2 | Second axis radius of the Ellipse |  | r3 | Third axis radius of the Ellipse |  | type | The type of the sites within the sphere |  | orientation1 | The direction along which to lay the first axis, default: along the z-axis |  | orientation2 | The direction along which to lay the second axis, default: along the y-axis |  
 
 
 
◆ ~Ellipse()
  
  | 
        
          | lm::builder::Ellipse::~Ellipse | ( |  | ) |  |  | virtual | 
 
 
◆ contains() [1/2]
  
  | 
        
          | bool lm::builder::Ellipse::contains | ( | point | query | ) |  |  | virtual | 
 
Determine if the shape contains the specified point. 
- Parameters
- 
  
  
- Returns
- true/false 
Implements lm::builder::Shape.
 
 
◆ contains() [2/2]
  
  | 
        
          | bool lm::builder::Ellipse::contains | ( | Shape * | query | ) |  |  | virtual | 
 
Determine if the shape contains the specified shape. 
- Parameters
- 
  
  
- Returns
- true/false 
Implements lm::builder::Shape.
 
 
◆ getCenter()
  
  | 
        
          | virtual point lm::builder::Ellipse::getCenter | ( |  | ) |  |  | inlinevirtual | 
 
Get the center of the sphere. 
 
 
◆ getRadius1()
  
  | 
        
          | virtual si_dist_t lm::builder::Ellipse::getRadius1 | ( |  | ) |  |  | inlinevirtual | 
 
Get the first radius of the sphere. 
 
 
◆ getRadius2()
  
  | 
        
          | virtual si_dist_t lm::builder::Ellipse::getRadius2 | ( |  | ) |  |  | inlinevirtual | 
 
Get the second radius of the sphere. 
 
 
◆ getRadius3()
  
  | 
        
          | virtual si_dist_t lm::builder::Ellipse::getRadius3 | ( |  | ) |  |  | inlinevirtual | 
 
Get the third radius of the sphere. 
 
 
◆ getVolume()
  
  | 
        
          | double lm::builder::Ellipse::getVolume | ( |  | ) |  |  | virtual | 
 
 
◆ intersects()
  
  | 
        
          | bool lm::builder::Ellipse::intersects | ( | Shape * | query | ) |  |  | virtual | 
 
Check if two shapes intersect. 
- Parameters
- 
  
    | query | The other shape to check |  
 
- Returns
- true/false 
Implements lm::builder::Shape.
 
 
◆ setCenter()
  
  | 
        
          | void lm::builder::Ellipse::setCenter | ( | point | center | ) |  |  | virtual | 
 
Set the center of the sphere. 
- Parameters
- 
  
    | center | Point of the center |  
 
 
 
◆ center
  
  | 
        
          | point lm::builder::Ellipse::center |  | protected | 
 
 
◆ r1
◆ r2
◆ r3
The documentation for this class was generated from the following files:
- /data2/LM_zls_github/Lattice-Microbes/src/builder/Ellipse.h
- /data2/LM_zls_github/Lattice-Microbes/src/builder/Ellipse.cpp