#include <TrimPlane.h>
|
| TrimPlane (Payload *payload) |
|
Provides read-only access to the trim planes generated during CGA generate(). Trim planes are in the Shape's pivot coordinate system.
- See also
- ShapeUtils::getPivotToWorldTrafo()
◆ getMesh()
MeshPtr prtx::TrimPlane::getMesh |
( |
| ) |
const |
Note that the size of the plane depends on the "/cgaenv/trimPlanesComputeSize" setting, see prt::InitialShapeBuilder::setAttributes().
- Returns
- the plane which was constructed during generate(), in pivot coordinates.
◆ getOrigEdgeCoords()
const DoubleVector& prtx::TrimPlane::getOrigEdgeCoords |
( |
| ) |
const |
- Returns
- the original edge in pivot coordinates: [startx, starty, startz, endx, endy, endz]
◆ isHorizontal()
bool prtx::TrimPlane::isHorizontal |
( |
| ) |
const |
See the trim shape attribute in the CGA ref.
- Returns
- true if the orientation of the TrimPlane is horizontal.
◆ isLimited()
bool prtx::TrimPlane::isLimited |
( |
| ) |
const |
Trim planes can be limited or unlimited. A trim plane is limited on the side where the end point of the original edge is a concave polygon vertex. @ returns true if the TrimPlane is limited on one or both sides.
◆ isVertical()
bool prtx::TrimPlane::isVertical |
( |
| ) |
const |
See the trim shape attribute in the CGA ref.
- Returns
- true if the orientation of the TrimPlane is vertical.
The documentation for this class was generated from the following file: