47#define STL_USING_ALGORITHM
158 : m_bFaceReversed(bFaceReversed)
159 , m_pSurface(pSurface)
160 , m_arrCoedges(arrCoedges)
161 , m_arrEdges(arrEdges)
179 bool m_bFaceReversed;
292 bool validateCoplanar =
true);
320 bool validateCoplanar =
true);
350 bool validateCoplanar =
true);
449 (*OdGeContext::gErrorFunc)(res);
463#define GE_NOT_IMPL(pGeEnt) \
467 (*OdGeContext::gErrorFunc)(eNotImplemented); \
469 catch (const OdError& err) \
471 if (err.code() == eNotImplemented) \
473 OdString sFunc(TD_FUNC); \
475 sMessage.format(OD_T("%s method %s for Ge type %s"), \
478 geToString(pGeEnt->type()).c_str()); \
479 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 bool isPolygonOutOfRect2d(OdUInt32 numPt, const OdGePoint2d *pPoints, const OdGePoint2d &minPt, const OdGePoint2d &maxPt)
GE_TOOLKIT_EXPORT OdString geToString(const OdGe::EntityId val)
GE_TOOLKIT_EXPORT OdGeError geValidSolid(const OdGePoint3dArray &points, bool &isValid, const OdGeTol &tol=OdGeContext::gTol)
GE_TOOLKIT_EXPORT double getSignedArea(const OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > &arrPoints)
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 OdGeError geCalculatePlane(const OdGePoint3dArray &points, OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol, bool validateCoplanar=true)
GE_TOOLKIT_EXPORT OdResult geIsDir2dOnSurfCoincide3d(const OdGeSurface *pSurf, const OdGeCurve3d *pCurve, const OdGeCurve2d *pParamCurve, bool &isCoincide, const OdGeTol &tol=OdGeContext::gTol)
GE_TOOLKIT_EXPORT bool geNurb3dTo2d(const OdGeNurbCurve3d &nurb3d, OdGePlane &plane, OdGeNurbCurve2d &nurb2d, const OdGeTol &tol=OdGeContext::gTol)
OdError_GeNotImplemted(const OdString &sMessage)
LoopType getLoopType(double dTol)
OdGeLoopCtx(const OdGeSurface *pSurface, const OdArray< std::pair< const OdGeCurve2d *, bool > > &arrCoedges, const OdArray< const OdGeCurve3d * > &arrEdges, bool bFaceReversed)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
static GE_STATIC_EXPORT OdGeTol gTol
static GE_STATIC_EXPORT OdGeTol gZeroTol