116 GEOMDLLIMPEXP
void Clear ();
118 GEOMDLLIMPEXP
bool operator == (CurveTopologyIdCR rhs)
const;
120 GEOMDLLIMPEXP
bool operator < (CurveTopologyIdCR rhs)
const;
BentleyStatus GetBRepSharedEdge(FaceId *faceId0, FaceId *faceId1) const
extract adjacent faces of brep edge
Definition: CurveTopologyId.h:49
bool IsEmpty() const
Return true if there are no ids.
Definition: CurveTopologyId.h:114
void Clear()
Clear the id array and set the type code to default unknown value.
static CurveTopologyId FromBRepIsoline(FaceId const &faceId, size_t isolineIndex)
construct and return with FaceId and isolineIndex
static CurveTopologyId FromCurveVector()
construct and return for curve vector
Definition: CurveTopologyId.h:57
Definition: CurveTopologyId.h:65
Definition: CurveTopologyId.h:56
static CurveTopologyId FromParasolidGPArrayId(size_t, size_t)
construct and return from Parasolid parasolid GPArray ID
struct CurveTopologyId & CurveTopologyIdR
Definition: CurveTopologyId.h:15
#define END_BENTLEY_GEOMETRY_NAMESPACE
Definition: Bentley.r.h:30
RefCounted object carrying a draw method index and variable size array of size_t. ...
Definition: CompoundDrawState.h:22
static BentleyStatus AddCurveVectorIds(CurveVectorCR curveVector, CurvePrimitiveId::Type type, CurveTopologyIdCR id, CompoundDrawStateP cds)
Definition: CurveTopologyId.h:68
static CurveTopologyId FromSweepLateral(size_t lateralIndex)
construct and return for indexed lateral within sweep.
Definition: CurveTopologyId.h:54
Definition: CurveTopologyId.h:58
Type GetType() const
Return the type code.
Definition: CurveTopologyId.h:104
struct CurveVector const & CurveVectorCR
Definition: msgeomstructs_typedefs.h:172
static CurveTopologyId FromVisEdgesIntersection()
construct and return for intersection curve in visible edges
CurveTopologyId()
Default constructor.
Definition: CurveTopologyId.h:92
Definition: CurveTopologyId.h:66
Type
Enumeration of how the curve originated.
Definition: CurveTopologyId.h:41
BentleyStatus Init(Type type, uint32_t const *ids, size_t idCount)
Initializer with type code and array of ids.
Definition: CurveTopologyId.h:63
Definition: CurveTopologyId.h:50
void Pack(bvector< Byte > &packed) const
Return a packed form of the ids.
static CurveTopologyId FromBRepSheetEdge(FaceId const &edgeId)
Construct and return for brep edge with one face.
static CurveTopologyId FromBRepSharedEdge(FaceId const &faceId0, FaceId const &faceId1)
Construct an return for brep edge with two faces.
typedefBEGIN_BENTLEY_GEOMETRY_NAMESPACE struct CurveTopologyId * CurveTopologyIdP
Definition: CurveTopologyId.h:14
Definition: CurveTopologyId.h:59
Definition: CurveTopologyId.h:38
CurveTopologyId(void const *data, size_t dataBytes)
Constructor with array of id data.
Definition: CurveTopologyId.h:99
BentleyStatus GetBRepPlanarFace(FaceId *faceId) const
uint32_t GetId(size_t index) const
Return id by index.
Definition: CurveTopologyId.h:108
The CurveTopologyId class identifies the source of a curve within a larger wireframe entity such as a...
Definition: CurveTopologyId.h:32
static CurveTopologyId FromBRepPlanarFace(FaceId const &faceId)
Construct and return for brep edge with one face.
Definition: CurveTopologyId.h:37
size_type size() const
Definition: stdcxx/bvector.h:283
struct CurveTopologyId const * CurveTopologyIdCP
Definition: CurveTopologyId.h:16
BentleyStatus
Definition: Bentley.h:208
Definition: CurveTopologyId.h:48
Definition: CurveTopologyId.h:44
struct CurveTopologyId const & CurveTopologyIdCR
Definition: CurveTopologyId.h:17
Definition: CurveTopologyId.h:69
bool operator==(CurveTopologyIdCR rhs) const
Direct equality tests.
Definition: CurveTopologyId.h:55
static CurveTopologyId FromSweepSilhouette(size_t silhouetteIndex)
construct and return for silhouette of sweep
bool empty() const
Definition: stdcxx/bvector.h:297
Definition: CurveTopologyId.h:62
Definition: CurveTopologyId.h:47
static CurveTopologyId FromGeometryMap()
construct and return for geometry map.
BentleyStatus GetBRepSheetEdge(FaceId *edgeId) const
extract adjacent face of brep edge
Definition: CurveTopologyId.h:61
Definition: CurveTopologyId.h:64
static CurveTopologyId FromUnknownCurve(size_t curveIndex)
construct and return for unknown curve
Type
enumeration of sources of CurvePrimitiveId
Definition: CurvePrimitiveId.h:39
bool operator<(CurveTopologyIdCR rhs) const
Lexical sort or (typeCode, idCount, id0, id1...)
Definition: CurveTopologyId.h:46
Definition: CurveTopologyId.h:45
WString GetDebugString() const
Return debug string form.
static CurveTopologyId FromMeshEdgeVertices(size_t vertexIndex0, size_t vertexIndex1)
construct and return for mesh edge with 2 vertices
static CurveTopologyId FromVisEdgesBoundedPlane(size_t)
construct and return for indexed loop in visible edges
size_t GetCount() const
Return the id data count (in UInt32's)
Definition: CurveTopologyId.h:106
Definition: CurveTopologyId.h:53
BentleyStatus GetBRepIsoline(FaceId *faceId, size_t *isolineIndex) const
Extract brep isoline.
#define BEGIN_BENTLEY_GEOMETRY_NAMESPACE
Definition: Bentley.r.h:29
CurveTopologyId(Type type)
Constructor with type code.
Definition: CurveTopologyId.h:78
unsigned int uint32_t
Definition: Bentley.r.h:93
static CurveTopologyId FromBRepSilhouette(FaceId const &edgeId)
Construct and return for brep silhouette edge.
struct Bentley::faceId FaceId
{nodeId, entityId} pair for solid topology references.
static CurveTopologyId FromSweepProfile(size_t profileIndex)
construct and return for index of swept profile curve.
Definition: CurveTopologyId.h:52
Definition: CurveTopologyId.h:67
static CurveTopologyId FromVisEdgesAnalytic(size_t curveIndex)
Definition: CurveTopologyId.h:43
static CurveTopologyId FromWire()
construct and return for wire edge
CurveTopologyId(Type type, uint32_t const *ids, size_t idCount)
Constructor with type code and arrasy of ids.
Definition: CurveTopologyId.h:86
Definition: CurveTopologyId.h:60
Definition: CurveTopologyId.h:51
static CurveTopologyId FromMeshSharedEdge(size_t faceIndex0, size_t faceIndex1)
construct and return for mesh edge with 2 faces