Go to the source code of this file.
|
GE_TOOLKIT_EXPORT OdGeError | geValidSolid (const OdGePoint3dArray &points, bool &isValid, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT OdGeError | geSolidSignedVolume (const OdGePoint3dArray &points, double &volume, const OdGePoint3d *basePoint) |
|
GE_TOOLKIT_EXPORT OdGeError | geCalculateNormal (const OdGePoint3dArray &points, OdGeVector3d *pNormal, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT OdGeError | geCalculateNormal (const OdGePoint3d *points, OdUInt32 numPoints, OdGeVector3d *pNormal, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT OdGeError | geCalculatePlane (const OdGePoint3dArray &points, OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT OdGeError | geCalculatePlane (const OdGePoint3d *points, OdUInt32 numPoints, OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT OdGeError | geCalculatePlane (const OdGeCurve3d *const *curves, OdUInt32 numCurves, OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT bool | geNurb3dTo2d (const OdGeNurbCurve3d &nurb3d, OdGePlane &plane, OdGeNurbCurve2d &nurb2d, const OdGeTol &tol=OdGeContext::gTol) |
|
GE_TOOLKIT_EXPORT bool | geSurfaceProp (const OdGeSurface &pS, OdGe::NurbSurfaceProperties &propU, OdGe::NurbSurfaceProperties &propV, const OdGeTol &tol) |
|
GE_TOOLKIT_EXPORT OdString | geToString (const OdGe::EntityId val) |
| Convert the specified value to an OdGe::EntityId string. More...
|
|
void | GE_ERROR (OdResult res) |
|
◆ GE_NOT_IMPL
#define GE_NOT_IMPL |
( |
|
pGeEnt | ) |
|
Value:{ \
try \
{ \
} \
{ \
if (err.code() == eNotImplemented) \
{ \
OdString sMessage; \
sMessage.format(
OD_T(
"%s method %s for Ge type %s"), \
sFunc.c_str(), \
} \
throw; \
} \
}
GE_TOOLKIT_EXPORT OdString geToString(const OdGe::EntityId val)
Convert the specified value to an OdGe::EntityId string.
const OdChar * c_str() const
Definition at line 281 of file GeGbl.h.
◆ OD_GEGBL_H
#define OD_GEGBL_H /*!DOM*/ |
◆ GE_ERROR()
◆ geCalculateNormal() [1/2]
◆ geCalculateNormal() [2/2]
Returns the normal to the plane defined by the specified points.
- Parameters
-
points | [in] Array of 3D points. |
numPoints | [in] Number of points. |
pNormal | [out] Receives the normal to the calculated plane. |
tol | [in] Geometric tolerance. |
@untitled table kOk kNonCoplanarGeometry kDegenerateGeometry kSingularPoint
Corresponding C++ library: TD_Ge
◆ geCalculatePlane() [1/3]
◆ geCalculatePlane() [2/3]
◆ geCalculatePlane() [3/3]
Returns the plane defined by the specified points.
- Parameters
-
points | [in] Array of 3D points. |
curves | [in] Array of 3D curves. |
numPoints | [in] Number of points. |
numCurves | [in] Number of curves. |
plane | [out] Receives the calculated plane. |
tol | [in] Geometric tolerance. |
Possible return values are as follows:
@untitled table kOk kNonCoplanarGeometry kDegenerateGeometry kSingularPoint
Corresponding C++ library: TD_Ge
◆ geNurb3dTo2d()
Converts a 3D NURBS curve to a 2D NURBS curve by projecting it onto the specified plane.
- Parameters
-
nurb3d | [in] Any 3D NURBS curve. |
plane | [in] Projection plane. |
nurb2d | [out] Receives the 2D NURBS curve. |
tol | [in] Geometric tolerance. |
Corresponding C++ library: TD_Ge
◆ geSolidSignedVolume()
Calculates signed volume of a triangulated solid.
- Parameters
-
points | [in] Array of 3D points (in order of the triangles they form). |
volume | [out] Receives the volume value. |
basePoint | [in] Point to replace (0,0,0) for calculation purposes. |
Corresponding C++ library: TD_Ge
◆ geSurfaceProp()
Calculates a properties for a specified surface.
- Parameters
-
pS | [in] Any surface. |
propU,propV | [out] Receives the properties. |
tol | [in] Geometric tolerance. |
Corresponding C++ library: TD_Ge
◆ geToString()
◆ geValidSolid()
Checks topology of a triangulated solid.
- Parameters
-
points | [in] Array of 3D points (in order of the triangles they form). |
isValid | [out] Receives the validation result. |
tol | [in] Geometric tolerance. |
Corresponding C++ library: TD_Ge