Rhino C++ API
8.7
|
#include <opennurbs_subd.h>
Public Member Functions | |
ON_SubDComponentId ()=default | |
ON_SubDComponentId (const class ON_SubDEdge *e) | |
ON_SubDComponentId (const class ON_SubDFace *f) | |
ON_SubDComponentId (const class ON_SubDFace *f, unsigned face_corner_index) | |
ON_SubDComponentId (const class ON_SubDVertex *v) | |
ON_SubDComponentId (const ON_SubDComponentId &)=default | |
ON_SubDComponentId (ON_SubDComponentPtr cptr) | |
ON_SubDComponentId (ON_SubDComponentPtr::Type component_type, unsigned int component_id) | |
ON_SubDComponentId (ON_SubDComponentPtr::Type component_type, unsigned int component_id, ON__UINT_PTR dir) | |
ON_SubDComponentId (ON_SubDEdgePtr eptr) | |
ON_SubDComponentId (ON_SubDFacePtr fptr) | |
ON_SubDComponentId (ON_SubDFacePtr fptr, unsigned face_corner_index) | |
ON_SubDComponentId (ON_SubDVertexPtr vptr) | |
~ON_SubDComponentId ()=default | |
unsigned int | ComponentDirection () const |
unsigned int | ComponentId () const |
const ON_SubDComponentPtr | ComponentPtr (const class ON_SubD &subd) const |
Get the referenced SubD component from a component id. More... | |
const ON_SubDComponentPtr | ComponentPtr (const class ON_SubD *subd) const |
Get the referenced SubD component from a component id. More... | |
ON_SubDComponentPtr::Type | ComponentType () const |
const ON_SubDEdge * | Edge (const class ON_SubD &subd) const |
const ON_SubDEdge * | Edge (const class ON_SubD *subd) const |
const ON_SubDEdgePtr | EdgePtr (const class ON_SubD &subd) const |
const ON_SubDEdgePtr | EdgePtr (const class ON_SubD *subd) const |
const ON_SubDFace * | Face (const class ON_SubD &subd) const |
const ON_SubDFace * | Face (const class ON_SubD *subd) const |
const ON_SubDFaceCornerDex | FaceCornerDex () const |
const ON_SubDFacePtr | FacePtr (const class ON_SubD &subd) const |
const ON_SubDFacePtr | FacePtr (const class ON_SubD *subd) const |
bool | IsEdgeId () const |
bool | IsFaceId () const |
bool | IsNotSet () const |
bool | IsSet () const |
bool | IsVertexId () const |
ON_SubDComponentId & | operator= (const ON_SubDComponentId &)=default |
const ON_SubDComponentId | Reversed () const |
Create an ON_SubDComponentId that references the same SubD component but with the opposite value of this->ComponentDirection(). More... | |
const ON_SubDVertex * | Vertex (const class ON_SubD &subd) const |
const ON_SubDVertex * | Vertex (const class ON_SubD *subd) const |
const ON_SubDVertexPtr | VertexPtr (const class ON_SubD &subd) const |
const ON_SubDVertexPtr | VertexPtr (const class ON_SubD *subd) const |
Static Public Member Functions | |
static int | CompareTypeAndId (const ON_SubDComponentId &lhs, const ON_SubDComponentId &rhs) |
static int | CompareTypeAndIdAndDirection (const ON_SubDComponentId &lhs, const ON_SubDComponentId &rhs) |
static int | CompareTypeAndIdFromPointer (const ON_SubDComponentId *lhs, const ON_SubDComponentId *rhs) |
Static Public Attributes | |
static const ON_SubDComponentId | Unset |
type = unset and id = 0; More... | |
|
default |
|
default |
|
default |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDComponentPtr::Type | component_type, |
unsigned int | component_id | ||
) |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDComponentPtr::Type | component_type, |
unsigned int | component_id, | ||
ON__UINT_PTR | dir | ||
) |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDComponentPtr | cptr | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | const class ON_SubDVertex * | v | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDVertexPtr | vptr | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | const class ON_SubDEdge * | e | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDEdgePtr | eptr | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | const class ON_SubDFace * | f | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDFacePtr | fptr | ) |
ON_SubDComponentId::ON_SubDComponentId | ( | const class ON_SubDFace * | f, |
unsigned | face_corner_index | ||
) |
ON_SubDComponentId::ON_SubDComponentId | ( | ON_SubDFacePtr | fptr, |
unsigned | face_corner_index | ||
) |
|
static |
|
static |
|
static |
unsigned int ON_SubDComponentId::ComponentDirection | ( | ) | const |
unsigned int ON_SubDComponentId::ComponentId | ( | ) | const |
const ON_SubDComponentPtr ON_SubDComponentId::ComponentPtr | ( | const class ON_SubD & | subd | ) | const |
Get the referenced SubD component from a component id.
subd | The subd containing the referenced component. |
const ON_SubDComponentPtr ON_SubDComponentId::ComponentPtr | ( | const class ON_SubD * | subd | ) | const |
Get the referenced SubD component from a component id.
subd | The subd containing the referenced component. |
ON_SubDComponentPtr::Type ON_SubDComponentId::ComponentType | ( | ) | const |
const ON_SubDEdge* ON_SubDComponentId::Edge | ( | const class ON_SubD & | subd | ) | const |
const ON_SubDEdge* ON_SubDComponentId::Edge | ( | const class ON_SubD * | subd | ) | const |
const ON_SubDEdgePtr ON_SubDComponentId::EdgePtr | ( | const class ON_SubD & | subd | ) | const |
const ON_SubDEdgePtr ON_SubDComponentId::EdgePtr | ( | const class ON_SubD * | subd | ) | const |
const ON_SubDFace* ON_SubDComponentId::Face | ( | const class ON_SubD & | subd | ) | const |
const ON_SubDFace* ON_SubDComponentId::Face | ( | const class ON_SubD * | subd | ) | const |
const ON_SubDFaceCornerDex ON_SubDComponentId::FaceCornerDex | ( | ) | const |
const ON_SubDFacePtr ON_SubDComponentId::FacePtr | ( | const class ON_SubD & | subd | ) | const |
const ON_SubDFacePtr ON_SubDComponentId::FacePtr | ( | const class ON_SubD * | subd | ) | const |
bool ON_SubDComponentId::IsEdgeId | ( | ) | const |
bool ON_SubDComponentId::IsFaceId | ( | ) | const |
bool ON_SubDComponentId::IsNotSet | ( | ) | const |
Returns: true if type is unset or id is 0.
bool ON_SubDComponentId::IsSet | ( | ) | const |
Returns: true if id > 0 and type is set to vertex, edge or face.
bool ON_SubDComponentId::IsVertexId | ( | ) | const |
|
default |
const ON_SubDComponentId ON_SubDComponentId::Reversed | ( | ) | const |
Create an ON_SubDComponentId that references the same SubD component but with the opposite value of this->ComponentDirection().
const ON_SubDVertex* ON_SubDComponentId::Vertex | ( | const class ON_SubD & | subd | ) | const |
const ON_SubDVertex* ON_SubDComponentId::Vertex | ( | const class ON_SubD * | subd | ) | const |
const ON_SubDVertexPtr ON_SubDComponentId::VertexPtr | ( | const class ON_SubD & | subd | ) | const |
const ON_SubDVertexPtr ON_SubDComponentId::VertexPtr | ( | const class ON_SubD * | subd | ) | const |
|
static |
type = unset and id = 0;