49#define STL_USING_ALGORITHM
160 : m_pSurface(pSurface)
161 , m_arrCoedges(arrCoedges)
162 , m_arrEdges(arrEdges)
163 , m_bFaceReversed(bFaceReversed)
182 bool m_bFaceReversed;
294 bool validateCoplanar =
true);
322 bool validateCoplanar =
true);
352 bool validateCoplanar =
true);
380 const bool* reverseFlags,
384 bool validateCoplanar =
true);
483 (*OdGeContext::gErrorFunc)(res);
497#define GE_NOT_IMPL(pGeEnt) \
501 (*OdGeContext::gErrorFunc)(eNotImplemented); \
503 catch (const OdError& err) \
505 if (err.code() == eNotImplemented) \
507 OdString sFunc(TD_FUNC); \
509 sMessage.format(OD_T("%s method %s for Ge type %s"), \
512 geToString(pGeEnt->type()).c_str()); \
513 throw OdError_GeNotImplemted(sMessage); \
OdGe::ErrorCondition OdGeError
#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)
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
GE_TOOLKIT_EXPORT double getSignedArea(const OdGePoint2dArray &arrPoints)
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 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 void(* gFreeMem)(void *memBlock)
static GE_STATIC_EXPORT void(* gOrthoVector)(const OdGeVector3d &vect, OdGeVector3d &orthoVector)
static GE_STATIC_EXPORT void(* gErrorFunc)(OdResult)
static GE_STATIC_EXPORT OdGeTol gZeroTol