OcctFileSource
Fully qualified name: occt::OcctFileSource
Defined in OCCT_BREP_IMPORT/inc/OcctFileSource.h
Structs Summary
-
class OcctFileSource
Public Functions
-
explicit OcctFileSource(const SOcctModel &rModel)
-
bool Build(std::string &rError)
-
inline double Tolerance() const
-
inline const std::vector<Solid> &Solids() const
-
inline const SOcctModel &Model() const
-
EdgeGeometry ResolveEdge(int iEdgeStorageIndex) const
-
pxr::GfVec3d VertexPoint(int iVertexStorageIndex) const
-
double VertexTolerance(int iVertexStorageIndex) const
-
pxr::GfRange2d ComputeFaceUVDomain(const Face &rFace) const
-
pxr::GfRange2d ComputeLoopUVRange(
- const Loop &rLoop,
- int iSurface,
) const
-
bool ResolveCoedgePCurve(
- const Coedge &rCoedge,
- int iSurface,
- CoedgePCurve &rOut,
) const
-
void PrepareCoedgesForStaging(std::vector<Coedge> &rCoedges) const
-
struct Coedge
Public Members
-
int iEdgeStorageIndex = 0
-
bool bSameOrientationWithLoop = true
-
pxr::GfMatrix4d mEdgeLoc = pxr::GfMatrix4d(1.0)
-
struct CoedgePCurve
Public Members
-
const SCurve2d *pCurve2d = nullptr
-
double dFirst = 0.0
-
double dLast = 0.0
-
struct EdgeGeometry
Public Members
-
const SCurve3d *pCurve3d = nullptr
-
int iCurveLocation = 0
-
double dFirst = 0.0
-
double dLast = 0.0
-
int iStartVertexStorageIndex = 0
-
int iEndVertexStorageIndex = 0
-
int iStartVertexLocation = 0
-
int iEndVertexLocation = 0
-
bool bDegenerated = false
-
struct Face
Public Members
-
int iFaceStorageIndex = 0
-
int iSurfaceIndex = 0
-
int iSurfaceLocation = 0
-
bool bSameOrientationWithShell = true
-
bool bNaturalRestriction = false
-
uint32_t uiOuterLoopIndex = 0
-
pxr::GfMatrix4d mFaceLoc = pxr::GfMatrix4d(1.0)
-
std::vector<Loop> vLoops
-
struct Loop
Public Members
-
bool bSameOrientationWithSurface = true
-
std::vector<Coedge> vCoedges
-
struct Shell
Public Members
-
int iShellStorageIndex = 0
-
bool bClosed = false
-
bool bSameOrientationWithSolid = true
-
std::vector<Face> vFaces
-
struct Solid
Public Members
-
int iSolidStorageIndex = 0
-
std::vector<Shell> vShells