|
C3D Toolkit
Kernel - 118060, Vision - 2.15.0.1825
|
Shell draping results. More...
#include <op_polymesh_parameter.h>
Public Types | |
| enum class | DrapErrorType : uint { unbuiltCells = 0x01 , fabricOverlapping = 0x02 , coordSystemCenterOnBoundary = 0x03 , coordSystemCenterIsOut = 0x04 , unbuiltMarkers = 0x05 , unbuiltHoleCurves = 0x06 , intersectHoleCurves = 0x07 } |
| Error code type. More... | |
Public Member Functions | |
| MbDrapeShellResults () | |
| Constructor. | |
| ~MbDrapeShellResults () | |
| Destructor. | |
| void | Clear () |
| Clear data. | |
| const std::vector< c3d::SpacePointsVector > & | GetWarp () const |
| Get a polyline for the main warp thread. More... | |
| const std::vector< c3d::SpacePointsVector > & | GetWeft () const |
| Get a polyline for the main weft thread. More... | |
| std::vector< c3d::SpacePointsVector > & | GetWarp () |
| Get a polyline for the main warp thread. More... | |
| std::vector< c3d::SpacePointsVector > & | GetWeft () |
| Get a polyline for the main weft thread. More... | |
| const std::vector< c3d::SpacePointsVector > & | GetCellSides () const |
| Get a cell side polyline. | |
| std::vector< c3d::SpacePointsVector > & | GetCellSides () |
| Get a cell side polyline. | |
| std::vector< c3d::ParamPointsVector > & | SetMarkersPolylines () |
| Get the marker polylines. | |
| const std::vector< c3d::ParamPointsVector > & | GetMarkersPolylines () const |
| Get the marker polylines. | |
| c3d::ParamPointsVector & | SetMarkerPoints () |
| Get the marker points. | |
| const c3d::ParamPointsVector & | GetMarkerPoints () const |
| Get the marker points. | |
| void | GetUnwrapped (double tolApprox, c3d::FaceSPtr &unwrapped) const |
| Get an unwrapped face. More... | |
| void | GetMarkerCurves (double tolApprox, c3d::PlaneCurvesSPtrVector &approxMarkers) const |
| Get the markers. More... | |
| void | GetSplitPolylines (const MbCartPoint &uv, const MbVector &dir, std::vector< c3d::SpacePointsVector > &polys) const |
| Get a fiber cut polyline on the shell surface. More... | |
| const MbHalfedgeAttrSizetEdge * | GetDirectionalAttribute () const |
| Get an attribute for cell sides directions. More... | |
Shell draping results.
Shell draping results.
Results contain information about 3D fiber cells and 2D unwrapping.
|
strong |
Error code type.
Error code type.
|
inline |
Get a polyline for the main warp thread.
Get polyline for maGet a polyline for the main warp thread. Polylines go in a positive and negative direction along the X-axis of the local coordinate system.
|
inline |
Get a polyline for the main weft thread.
Get a polyline for the main weft thread. Polylines go in a positive and negative direction along the Y-axis of the local coordinate system.
|
inline |
Get a polyline for the main warp thread.
Get a polyline for the main warp thread. Polylines go in a positive and negative direction along the X-axis of the local coordinate system.
|
inline |
Get a polyline for the main weft thread.
Get a polyline for the main weft thread. Polylines go in a positive and negative direction along the Y-axis of the local coordinate system.
| void MbDrapeShellResults::GetUnwrapped | ( | double | tolApprox, |
| c3d::FaceSPtr & | unwrapped | ||
| ) | const |
Get an unwrapped face.
Get an unwrapped face. This is a contour calculated by an approximation of the unwrapped mesh boundary.
| [in] | tolApprox | - An approximation tolerance. |
| [out] | unwrapped | - An unwrapped face. |
| void MbDrapeShellResults::GetMarkerCurves | ( | double | tolApprox, |
| c3d::PlaneCurvesSPtrVector & | approxMarkers | ||
| ) | const |
Get the markers.
Get the markers. The curves are calculated by the approximation of the polylines.
| [in] | tolApprox | - An approximation tolerance. |
| [out] | approxMarkers | - A polyline approximations. |
| void MbDrapeShellResults::GetSplitPolylines | ( | const MbCartPoint & | uv, |
| const MbVector & | dir, | ||
| std::vector< c3d::SpacePointsVector > & | polys | ||
| ) | const |
Get a fiber cut polyline on the shell surface.
Get a fiber cut polyline on the shell surface.
| [in] | uv | - A cut line beginning. |
| [in] | dir | - A cut line direction. |
| [out] | polys | - Polylines represented a line mapping to the shell. |
|
inline |
Get an attribute for cell sides directions.
Get an attribute for cell sides directions. Possible values are: 0 - along warp, 1 - along weft, 2 - against warp, 3 - against weft, SYS_MAX_T - undefined.