Classes | |
| class | CSGBase |
| CSGBase creates an internal representation of a Constructive Solid Geometry (CSG) model. More... | |
| class | CSGCell |
| CSGCell creates an internal representation of a Constructive Solid Geometry (CSG) cell, which represents a region of space filled by a material or void. More... | |
| class | CSGCellList |
| CSGCellList creates a container for CSGCell objects to pass to CSGBase object. More... | |
| class | CSGPlane |
| CSGPlane creates an internal representation of a Constructive Solid Geometry (CSG) plane, represented in the form aX + bY + cZ = d. More... | |
| class | CSGRegion |
| CSGRegions creates an internal representation of a CSG region, which can refer to an intersection, union, complement, or half-space. More... | |
| class | CSGSphere |
| CSGSphere creates an internal representation of a Constructive Solid Geometry (CSG) sphere, represented in the form (x - x0)^2 + (y - y0)^2 + (z - z0)^2 = r^2. More... | |
| class | CSGSurface |
| CSGSurface creates an internal representation of a Constructive Solid Geometry (CSG) surface, represented as some polynomial in x, y, and z. More... | |
| class | CSGSurfaceList |
| CSGSurfaceList is a container for storing CSGSurface objects in the CSGBase object. More... | |
| class | CSGUniverse |
| CSGUniverse creates an internal representation of a Constructive Solid Geometry (CSG) universe, which represents a collection of cells that can be defined repeatedly within a separate container of cells. More... | |
| class | CSGUniverseList |
| CSGUniverseList creates a container for CSGUniverse objects to pass to CSGBase. More... | |
| class | CSGXCylinder |
| CSGXCylinder creates an internal representation of a Constructive Solid Geometry (CSG) x-axis aligned cylinder, represented in the following form (y - y0)^2 + (z - z0)^2 = r^2. More... | |
| class | CSGYCylinder |
| CSGYCylinder creates an internal representation of a Constructive Solid Geometry (CSG) y-axis aligned cylinder, represented in the following form (x - x0)^2 + (z - z0)^2 = r^2. More... | |
| class | CSGZCylinder |
| CSGZCylinder creates an internal representation of a Constructive Solid Geometry (CSG) z-axis aligned cylinder, represented in the following form (x - x0)^2 + (y - y0)^2 = r^2. More... | |
Functions | |
| const std::string | stripRegionString (std::string region_str, std::string op) |
| strip the leading and trailing parentheses from the string if only the specified operator is present in the string More... | |
| const CSGRegion | operator+ (const CSGSurface &surf) |
| Operation overloads for operation based region construction. More... | |
| const CSGRegion | operator- (const CSGSurface &surf) |
| Overload for creating a region from the negative half-space (-) of a surface. More... | |
| const CSGRegion | operator & (const CSGRegion ®ion_a, const CSGRegion ®ion_b) |
| Overload for creating a region from the the intersection (&) of two regions. More... | |
| const CSGRegion | operator| (const CSGRegion ®ion_a, const CSGRegion ®ion_b) |
| Overload for creating a region from the union (|) of two regions. More... | |
| const CSGRegion | operator~ (const CSGRegion ®ion) |
| Overload for creating a region from the complement (~) of another region. More... | |
| const CSGRegion | operator & (const CSGRegion ®ion_a, const CSGRegion ®ion_b) |
| Overload for creating a region from the the intersection (&) of two regions. More... | |
Overload for creating a region from the the intersection (&) of two regions.
Definition at line 144 of file CSGRegion.C.
Overload for creating a region from the the intersection (&) of two regions.
Definition at line 144 of file CSGRegion.C.
| const CSGRegion CSG::operator+ | ( | const CSGSurface & | surf | ) |
Operation overloads for operation based region construction.
Overload for creating a region from the positive half-space (+) of a surface
Definition at line 130 of file CSGRegion.C.
| const CSGRegion CSG::operator- | ( | const CSGSurface & | surf | ) |
Overload for creating a region from the negative half-space (-) of a surface.
Definition at line 137 of file CSGRegion.C.
Overload for creating a region from the union (|) of two regions.
Definition at line 151 of file CSGRegion.C.
Overload for creating a region from the complement (~) of another region.
Definition at line 158 of file CSGRegion.C.
| const std::string CSG::stripRegionString | ( | std::string | region_str, |
| std::string | op | ||
| ) |
strip the leading and trailing parentheses from the string if only the specified operator is present in the string
| region_str | region string representation to simplify |
| op | operator to consider |
Definition at line 91 of file CSGRegion.C.
Referenced by CSG::CSGRegion::CSGRegion().
1.8.14