|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Results for checking sell self-intersection. More...
#include <check_geometry.h>
Public Member Functions | |
| MbShellSelfIntResults () | |
| Default constructor. | |
| ~MbShellSelfIntResults () | |
| Destructor. | |
| void | AddResult (size_t faceIndex1, size_t faceIndex2, c3d::SpaceCurvesSPtrVector *intersectionCurves=nullptr) |
| Add the result of self-intersection processing for a pair of faces. | |
| bool | GetResult (size_t index, size_t &faceIndex1, size_t &faceIndex2, c3d::SpaceCurvesSPtrVector *intersectionCurves) const |
| Get the result of self-intersection processing for a pair of faces. More... | |
| size_t | Count () const |
| Get the number of pairs of intersecting and self-intersecting faces. | |
| void | Reset () |
| Set defaults. | |
| void | ReserveResult (size_t count) |
| Reserve the size the array of pairs of intersecting and self-intersecting faces. | |
Results for checking sell self-intersection.
Results for checking sell self-intersection.
| bool MbShellSelfIntResults::GetResult | ( | size_t | index, |
| size_t & | faceIndex1, | ||
| size_t & | faceIndex2, | ||
| c3d::SpaceCurvesSPtrVector * | intersectionCurves | ||
| ) | const |
Get the result of self-intersection processing for a pair of faces.
Get indices of intersecting/self-intersecting faces and intersection curves (for a pair of different faces) by index. If the 'intersectionCurves' parameter is nullptr, intersection curves are not returned. If faceIndex1 == faceIndex2 means face with the index faceIndex1 self-intersects. Intersection curves are not calculated and 'intersectionCurves' will be empty.
| [in] | index | - Result index for a pair of faces. |
| [out] | faceIndex1 | - First face index. |
| [out] | faceIndex2 | - Second face index. |
| [out] | intersectionCurves | - Pointer to a vector of curves where two faces intersect. If intersectionCurves = nullptr - intersection curves do not return. |