267 (*OdGeContext::gErrorFunc)(res);
281 #define GE_NOT_IMPL(pGeEnt) \
285 (*OdGeContext::gErrorFunc)(eNotImplemented); \
287 catch (OdError &err) \
289 if (err.code() == eNotImplemented) \
291 OdString sFunc(TD_FUNC); \
293 sMessage.format(OD_T("%s method %s for Ge type %s"), \
296 geToString(pGeEnt->type()).c_str()); \
297 throw OdError_GeNotImplemted(sMessage); \
#define GE_TOOLKIT_EXPORT
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.
GE_TOOLKIT_EXPORT OdGeError geCalculatePlane(const OdGePoint3dArray &points, OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol)
GE_TOOLKIT_EXPORT OdGeError geValidSolid(const OdGePoint3dArray &points, bool &isValid, const OdGeTol &tol=OdGeContext::gTol)
void GE_ERROR(OdResult res)
GE_TOOLKIT_EXPORT OdGeError geCalculateNormal(const OdGePoint3dArray &points, OdGeVector3d *pNormal, const OdGeTol &tol=OdGeContext::gTol)
GE_TOOLKIT_EXPORT OdGeError geSolidSignedVolume(const OdGePoint3dArray &points, double &volume, const OdGePoint3d *basePoint)
GE_TOOLKIT_EXPORT bool geNurb3dTo2d(const OdGeNurbCurve3d &nurb3d, OdGePlane &plane, OdGeNurbCurve2d &nurb2d, const OdGeTol &tol=OdGeContext::gTol)
OdError_GeNotImplemted(const OdString &sMessage)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
static GE_STATIC_EXPORT OdGeTol gTol
static GE_STATIC_EXPORT OdGeTol gZeroTol