|
CFx SDK Documentation 2026 SP0
|
#include <GiPatternAttributes.h>
Public Member Functions | |
| OdGiPatternAttribs () | |
| bool | isEmpty () const |
| void | clear () |
| void | calcAttribs (const OdGeSurface *pSrf, const OdGePoint2d &faceFillOrigin, double rotAngle, const OdGePoint2dArray &basePts, const OdGeDoubleArray &angles, const OdGeVector2dArray &offsets, const OdInt32Array &faceList, const OdGePoint3dArray &vertexList, const OdGePoint2dArray &trMidPts, const OdGeDoubleArray &annotationScales, const OdGeScale2d &globalScaleUv, bool swapUv, double uDerScale, const OdGeMatrix3d *pTransfMx) |
| double | calcAngleBetweenCurves (const OdGeSurface *pSrf, bool swapUv, double uDerScale, const OdGePoint2d &uvPt, const OdGeVector2d &dir, bool mirror) |
Public Attributes | |
| OdGePoint2dArray | fillOriginArr |
| OdGeVector2dArray | fillDirectionArr |
| OdGeVector2dArray | fillOffsetDirectionArr |
| OdGeDoubleArray | fillDashesScaleArr |
| OdGeDoubleArray | fillOffsetScaleArr |
This class calculates arrays of pattern attributes for meshes and shells.
<group OdGi_Classes>
Definition at line 48 of file GiPatternAttributes.h.
| OdGiPatternAttribs::OdGiPatternAttribs | ( | ) |
Default constructor for the OdGiPatternAttribs class. Sets surface and transformation to NULL, swap flag to false and u derivative scale to 1.
| double OdGiPatternAttribs::calcAngleBetweenCurves | ( | const OdGeSurface * | pSrf, |
| bool | swapUv, | ||
| double | uDerScale, | ||
| const OdGePoint2d & | uvPt, | ||
| const OdGeVector2d & | dir, | ||
| bool | mirror ) |
Calculates angle between curves.
| pSrf | [in] Surface. |
| swapUv | [in] Swap u and v parameters flag. |
| uDerScale | [in] U derivative scale parameter. |
| uvPt | [in] Curves starting point in parametric space. |
| dir | [in] Second curve direction in parametric space. |
| mirror | [in] Mirror second curve direction flag. |
| void OdGiPatternAttribs::calcAttribs | ( | const OdGeSurface * | pSrf, |
| const OdGePoint2d & | faceFillOrigin, | ||
| double | rotAngle, | ||
| const OdGePoint2dArray & | basePts, | ||
| const OdGeDoubleArray & | angles, | ||
| const OdGeVector2dArray & | offsets, | ||
| const OdInt32Array & | faceList, | ||
| const OdGePoint3dArray & | vertexList, | ||
| const OdGePoint2dArray & | trMidPts, | ||
| const OdGeDoubleArray & | annotationScales, | ||
| const OdGeScale2d & | globalScaleUv, | ||
| bool | swapUv, | ||
| double | uDerScale, | ||
| const OdGeMatrix3d * | pTransfMx ) |
Calculates all patterns attributes arrays.
| pSrf | [in] Surface. |
| faceFillOrigin | [in] Patterns origin. |
| rotAngle | [in] Global rotation angle for all patterns. |
| basePts | [in] Array of patterns base points. |
| angles | [in] Array of patterns angles. |
| offsets | [in] Array of pattern offsets. |
| faceList | [in] Array of integers defining triangles. |
| vertexList | [in] Array of mesh vertices. |
| trMidPts | [in] Array of mesh triangles middle points in parametric space (uv). |
| annotationScales | [in] Array of annotation scales. |
| globalScaleUv | [in] Global scale for u and v parameters. |
| swapUv | [in] Swap u and v parameters flag. |
| uDerScale | [in] U derivative scale parameter. |
| pTransfMx | [in] Pointer to model to world transformation matrix. |
| void OdGiPatternAttribs::clear | ( | ) |
Clears all pattern attributes arrays.
| bool OdGiPatternAttribs::isEmpty | ( | ) | const |
Checks if pattern attributes arrays are empty.
| OdGeDoubleArray OdGiPatternAttribs::fillDashesScaleArr |
Array of patterns dashes directions scale.
Definition at line 128 of file GiPatternAttributes.h.
| OdGeVector2dArray OdGiPatternAttribs::fillDirectionArr |
Array of patterns directions.
Definition at line 122 of file GiPatternAttributes.h.
| OdGeVector2dArray OdGiPatternAttribs::fillOffsetDirectionArr |
Array of patterns offset directions.
Definition at line 125 of file GiPatternAttributes.h.
| OdGeDoubleArray OdGiPatternAttribs::fillOffsetScaleArr |
Array of patterns offset directions scale.
Definition at line 131 of file GiPatternAttributes.h.
| OdGePoint2dArray OdGiPatternAttribs::fillOriginArr |
Array of patterns origins.
Definition at line 119 of file GiPatternAttributes.h.