|
OOFEM 3.0
|
#include <CSG.h>
Public Member Functions | |
| CSGNode () | |
| CSGNode (const std::vector< Polygon > &list) | |
| ~CSGNode () | |
| CSGNode * | clone () const |
| void | clipto (const CSGNode *other) |
| void | invert () |
| void | build (const std::vector< Polygon > &Polygon) |
| std::vector< Polygon > | clippolygons (const std::vector< Polygon > &list) const |
| std::vector< Polygon > | allpolygons () const |
Public Attributes | |
| std::vector< Polygon > | polygons |
| CSGNode * | front |
| CSGNode * | back |
| Plane | plane |
| CSGNode::CSGNode | ( | ) |
Definition at line 870 of file CSG.h.
Referenced by allpolygons(), build(), clippolygons(), clipto(), clone(), invert(), and ~CSGNode().
| CSGNode::CSGNode | ( | const std::vector< Polygon > & | list | ) |
| std::vector< Polygon > CSGNode::allpolygons | ( | ) | const |
Definition at line 783 of file CSG.h.
References back, CSGNode(), front, and polygons.
Referenced by csg_intersect(), csg_subtract(), and csg_union().
| void CSGNode::build | ( | const std::vector< Polygon > & | Polygon | ) |
Definition at line 833 of file CSG.h.
References back, CSGNode(), front, Plane::ok(), plane, polygons, and Plane::splitpolygon().
Referenced by csg_intersect(), csg_subtract(), csg_union(), and CSGNode().
Definition at line 730 of file CSG.h.
References back, CSGNode(), front, Plane::ok(), plane, and Plane::splitpolygon().
Referenced by clipto().
| void CSGNode::clipto | ( | const CSGNode * | other | ) |
Definition at line 766 of file CSG.h.
References back, clippolygons(), CSGNode(), front, and polygons.
Referenced by csg_intersect(), csg_subtract(), and csg_union().
| CSGNode * CSGNode::clone | ( | ) | const |
Definition at line 803 of file CSG.h.
References back, clone(), CSGNode(), front, plane, and polygons.
Referenced by clone(), csg_intersect(), csg_subtract(), and csg_union().
| void CSGNode::invert | ( | ) |
Definition at line 709 of file CSG.h.
References back, CSGNode(), Plane::flip(), front, plane, and polygons.
Referenced by csg_intersect(), csg_subtract(), and csg_union().
| CSGNode* CSGNode::back |
Definition at line 521 of file CSG.h.
Referenced by allpolygons(), build(), clippolygons(), clipto(), clone(), CSGNode(), CSGNode(), invert(), and ~CSGNode().
| CSGNode* CSGNode::front |
Definition at line 520 of file CSG.h.
Referenced by allpolygons(), build(), clippolygons(), clipto(), clone(), CSGNode(), CSGNode(), invert(), and ~CSGNode().
| Plane CSGNode::plane |
| std::vector<Polygon> CSGNode::polygons |