| Lattice Microbes 2.5
    This is for whole cell modeling | 
A Shape representing a cylinder with hemispherical ends. More...
#include <Capsule.h>
| Public Member Functions | |
| Capsule (point p1, point p2, si_dist_t radius, site_t type) | |
| Create a Capsule. | |
| virtual | ~Capsule () | 
| Destroy the Capsule. | |
| 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 point | getP1 () | 
| Get point of first end of cylinder. | |
| virtual point | getP2 () | 
| Get point of second end of cylinder. | |
| virtual si_dist_t | getRadius () | 
| Get the radius of the cylinder/hemisphere ends. | |
| virtual double | getVolume () | 
| Get the total internal volume of the Capsule. | |
| Public Member Functions inherited from lm::builder::Shape | |
| 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. | |
| Protected Attributes | |
| point | p1 | 
| point | p2 | 
| si_dist_t | radius | 
| si_dist_t | length | 
| Protected Attributes inherited from lm::builder::Shape | |
| ShapeType | shapeType | 
| bounding_box | boundingBox | 
| site_t | type | 
| vector | at | 
| vector | up | 
| matrix | rotation | 
| Additional Inherited Members | |
| Public Types inherited from lm::builder::Shape | |
| 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... | |
| Protected Member Functions inherited from lm::builder::Shape | |
| double | integrateToPercentThreshold (double percent) | 
| double | integrateToCount (int count) | 
| virtual point | minBounds (point p1, point p2) const | 
| virtual point | maxBounds (point p1, point p2) const | 
A Shape representing a cylinder with hemispherical ends.
Create a Capsule.
| p1 | Point of first end of cylinder | 
| p2 | Point of second end of cylinder | 
| radius | Radius of the capsule cylinder/hemispheres ends | 
| type | Site type of the capsule | 
| 
 | virtual | 
Destroy the Capsule.
| 
 | virtual | 
Determine if the shape contains the specified point.
| query | Point to test | 
Implements lm::builder::Shape.
| 
 | virtual | 
Determine if the shape contains the specified shape.
| query | Shape to test | 
Implements lm::builder::Shape.
| 
 | inlinevirtual | 
Get point of first end of cylinder.
| 
 | inlinevirtual | 
Get point of second end of cylinder.
| 
 | inlinevirtual | 
Get the radius of the cylinder/hemisphere ends.
| 
 | virtual | 
Get the total internal volume of the Capsule.
Implements lm::builder::Shape.
| 
 | virtual | 
Check if two shapes intersect.
| query | The other shape to check | 
Implements lm::builder::Shape.
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected |