|
| Plane (const double A, const double B, const double C, const double D, const int id=0, const char *name="") |
| Constructor. More...
|
|
double | getMinX (int halfspace) |
| Returns the minimum x value of -INFINITY. More...
|
|
double | getMaxX (int halfspace) |
| Returns the maximum x value of INFINITY. More...
|
|
double | getMinY (int halfspace) |
| Returns the minimum y value of -INFINITY. More...
|
|
double | getMaxY (int halfspace) |
| Returns the maximum y value of INFINITY. More...
|
|
double | getMinZ (int halfspace) |
| Returns the minimum z value of -INFINITY. More...
|
|
double | getMaxZ (int halfspace) |
| Returns the maximum z value of INFINITY. More...
|
|
double | getA () |
| Returns the A coefficient multiplying x in the surface equation. More...
|
|
double | getB () |
| Returns the B coefficient multiplying y in the surface equation. More...
|
|
double | getC () |
| Returns the C coefficient multiplying z in the surface equation. More...
|
|
double | getD () |
| Returns the D constant coefficient. More...
|
|
double | evaluate (const Point *point) const |
| Evaluate a Point using the Plane's quadratic Surface equation. More...
|
|
int | intersection (Point *point, double azim, double polar, Point *points) |
| Finds the intersection Point with this Plane from a given Point and trajectory defined by an azim/polar. More...
|
|
std::string | toString () |
| Converts this Plane's attributes to a character array. More...
|
|
| Surface (const int id=0, const char *name="") |
| Constructor assigns unique ID and user-defined ID for a Surface. More...
|
|
virtual | ~Surface () |
| Destructor.
|
|
int | getUid () const |
| Return the Surface's unique ID. More...
|
|
int | getId () const |
| Return the Surface's user-defined ID. More...
|
|
char * | getName () const |
| Return the user-defined name of the Surface. More...
|
|
surfaceType | getSurfaceType () |
| Return the type of Surface (ie, XPLANE, ZYCLINDER, etc). More...
|
|
boundaryType | getBoundaryType () |
| Returns the type of boundary conditions for this Surface (REFLECTIVE, VACUUM or BOUNDARY_NONE). More...
|
|
double | getMin (int axis, int halfspace) |
| Returns the minimum coordinate in the axis direction of the space defined by halfspace and this surface. More...
|
|
double | getMax (int axis, int halfspace) |
| Returns the maximum coordinate in the axis direction of the space defined by halfspace and this surface. More...
|
|
void | setName (const char *name) |
| Sets the name of the Surface. More...
|
|
void | setBoundaryType (const boundaryType boundary_type) |
| Sets the boundary condition type (ie, VACUUM or REFLECTIVE) for this Surface. More...
|
|
void | addNeighborCell (int halfspace, Cell *cell) |
| Adds a neighbor Cell to this Surface's collection of neighbors. More...
|
|
bool | isPointOnSurface (Point *point) |
| Return true or false if a Point is on or off of a Surface. More...
|
|
bool | isCoordOnSurface (LocalCoords *coord) |
| Return true or false if a LocalCoord is on or off of a Surface. More...
|
|
double | getMinDistance (Point *point, double azim, double polar) |
| Finds the minimum distance to a Surface. More...
|
|
double | getMinDistance (LocalCoords *coord) |
| Finds the minimum distance to a Surface. More...
|
|
void | printString () |
| Prints a string representation of all of the Surface's objects to the console.
|
|
Represents a Plane perpendicular to the xy-plane.
std::string Plane::toString |
( |
| ) |
|
|
virtual |
Converts this Plane's attributes to a character array.
The character array returned conatins the type of Plane (ie, PLANE) and the A, B, and C coefficients in the quadratic Surface equation.
- Returns
- a character array of this Plane's attributes
Implements Surface.
Reimplemented in ZPlane, YPlane, and XPlane.