CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
OdGeLoopCtx Class Reference

#include <GeGbl.h>

Public Types

enum  LoopType { kLUndefined , kLOuter , kLInner }
 

Public Member Functions

 OdGeLoopCtx (const OdGeSurface *pSurface, const OdArray< std::pair< const OdGeCurve2d *, bool > > &arrCoedges, const OdArray< const OdGeCurve3d * > &arrEdges, bool bFaceReversed)
 
LoopType getLoopType (double dTol)
 

Detailed Description

This class is used to store information about loop and to detect type of loop (inner/outer/undefined).

Corresponding C++ library: TD_Ge

<group !!RECORDS_tkernel_apiref>

Definition at line 134 of file GeGbl.h.

Member Enumeration Documentation

◆ LoopType

Represents loop type.

Enumerator
kLUndefined 

Loop type is undefined.

kLOuter 

Outer loop.

kLInner 

Inner loop.

Definition at line 140 of file GeGbl.h.

Constructor & Destructor Documentation

◆ OdGeLoopCtx()

OdGeLoopCtx::OdGeLoopCtx ( const OdGeSurface pSurface,
const OdArray< std::pair< const OdGeCurve2d *, bool > > &  arrCoedges,
const OdArray< const OdGeCurve3d * > &  arrEdges,
bool  bFaceReversed 
)
inline

Constructor for OdGeLoopCtx.

Parameters
pSurface[in] Surface.
arrCoedges[in] Array of coedges, i.e. 2d curves forming the loop with reverse flags, indicating whether 2d and 3d curves have opposite orientations.
arrEdges[in] Array of edges, i.e. 3d curves forming the loop.
bFaceReversed[in] Is face reversed relative to the surface.

Definition at line 157 of file GeGbl.h.

Member Function Documentation

◆ getLoopType()

LoopType OdGeLoopCtx::getLoopType ( double  dTol)

Determines loop type.

Parameters
dTol[in] Geometric tolerance.
Returns
Loop type as a LoopType value.
Remarks
All validation input parameters (surface, edges) should be done on caller side.

The documentation for this class was generated from the following file: