#include <opennurbs_subd.h>
◆ Type
◆ BoundingBox()
◆ CenterPoint()
◆ ClearComponentDirection()
◆ ClearMark()
bool ON_SubDComponentPtr::ClearMark |
( |
| ) |
const |
Description: Clears (sets to false) the value of the component mark. Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specfic state. Returns: Input value of Mark().
◆ ClearMarkBits()
ON__UINT8 ON_SubDComponentPtr::ClearMarkBits |
( |
| ) |
const |
◆ ClearSavedSubdivisionPoints() [1/2]
void ON_SubDComponentPtr::ClearSavedSubdivisionPoints |
( |
| ) |
const |
◆ ClearSavedSubdivisionPoints() [2/2]
void ON_SubDComponentPtr::ClearSavedSubdivisionPoints |
( |
bool |
bClearNeighborhood | ) |
const |
Description: Clears saved subdivision and limit surface information for this component. Parameters: bClearNeighborhood - [in] If true, all components attached to this component are also cleared.
◆ ClearStates()
Returns: 1: status changed. 0: status not changed.
◆ CompareComponent()
Description: Dictionary compares type and ComponentBase() pointer as an unsigned.
◆ CompareComponentAndDirection()
◆ CompareComponentPtrType()
◆ CompareType()
◆ ComponentBase() [1/2]
◆ ComponentBase() [2/2]
type_filter - [in] If is ON_SubDComponentPtr::Type::Unset, then any type of component will be returned. Otherwise only a component of the specified type will be returned.
◆ ComponentDirection()
ON__UINT_PTR ON_SubDComponentPtr::ComponentDirection |
( |
| ) |
const |
Returns: 0 or 1. A runtime bit property on this ON_SubDComponentPtr. The use of this value varies depending on the context. Frequently, 0 means the referenced component is being used with its natural orientation and 1 means the referenced component is being used with the reverse of its natrual oreientation.
◆ ComponentId()
unsigned int ON_SubDComponentPtr::ComponentId |
( |
| ) |
const |
◆ ComponentIndex()
◆ ComponentPtrTypeFromUnsigned()
static ON_SubDComponentPtr::Type ON_SubDComponentPtr::ComponentPtrTypeFromUnsigned |
( |
unsigned int |
component_pointer_type_as_unsigned | ) |
|
|
static |
◆ ComponentType()
◆ ControlNetBoundingBox()
const ON_BoundingBox ON_SubDComponentPtr::ControlNetBoundingBox |
( |
| ) |
const |
◆ ControlNetCenterPoint()
const ON_3dPoint ON_SubDComponentPtr::ControlNetCenterPoint |
( |
| ) |
const |
◆ Create() [1/9]
◆ Create() [2/9]
◆ Create() [3/9]
◆ Create() [4/9]
◆ Create() [5/9]
◆ Create() [6/9]
◆ Create() [7/9]
◆ Create() [8/9]
◆ Create() [9/9]
◆ CreateNull()
◆ Edge()
◆ EdgePtr()
◆ Face()
◆ FacePtr()
◆ GroupId()
unsigned int ON_SubDComponentPtr::GroupId |
( |
unsigned int |
null_component_value | ) |
const |
Parameters: null_component_value - [in] Value to return if the component is null. Returns: If this is not null, the group id of the component is returned. Otherwise null_component_value is returned.
◆ Hash16FromTypeAndId()
ON__UINT16 ON_SubDComponentPtr::Hash16FromTypeAndId |
( |
| ) |
const |
Returns: A value suitable for hash table used based on the component type and id.
◆ Hash32FromPointer()
ON__UINT32 ON_SubDComponentPtr::Hash32FromPointer |
( |
| ) |
const |
Returns: A value suitable for hash table used based on the value of ComponentBase().
◆ InSymmetrySet()
bool ON_SubDComponentPtr::InSymmetrySet |
( |
| ) |
const |
Returns: True if this component is marked being in a symmetry set. Remarks: You must use ON_SubD SymmetrySet memeber functions to get symmetry set contents.
◆ IsActive()
bool ON_SubDComponentPtr::IsActive |
( |
| ) |
const |
Returns: True if this component is active in its parent subd or other relevent context. Remarks: When a component is in use, IsActive() = true. If was used and then deleted, IsActive() is false.
◆ IsEdge()
const bool ON_SubDComponentPtr::IsEdge |
( |
| ) |
const |
◆ IsFace()
const bool ON_SubDComponentPtr::IsFace |
( |
| ) |
const |
◆ IsNotNull()
bool ON_SubDComponentPtr::IsNotNull |
( |
| ) |
const |
Returns: True if type is set and ComponentBase() pointer is not nullptr. Note that mark may be set as well.
◆ IsNull()
bool ON_SubDComponentPtr::IsNull |
( |
| ) |
const |
Returns: True if the ComponentBase() pointer is nullptr. Note that type and mark may be set.
◆ IsSymmetrySetPrimaryMotif()
bool ON_SubDComponentPtr::IsSymmetrySetPrimaryMotif |
( |
| ) |
const |
Returns: True if this component is marked as a primary motif component. Remarks: You must use ON_SubD SymmetrySet memeber functions to get symmetry set contents.
◆ IsVertex()
const bool ON_SubDComponentPtr::IsVertex |
( |
| ) |
const |
◆ Mark()
bool ON_SubDComponentPtr::Mark |
( |
| ) |
const |
Returns: The current value of the component mark ( m_status->RuntimeMark() ). Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specfic state.
◆ MarkBits()
ON__UINT8 ON_SubDComponentPtr::MarkBits |
( |
| ) |
const |
◆ Reversed()
◆ SetComponentDirection() [1/2]
◆ SetComponentDirection() [2/2]
◆ SetGroupId()
bool ON_SubDComponentPtr::SetGroupId |
( |
unsigned int |
group_id | ) |
|
Description: Sets ON_SubDComponentBase.m_group_id. Parameters: group_id - [in] Value to return if the component is null. Returns: True if the component is not null and the group id was set. False if the component is null.
◆ SetMark() [1/2]
bool ON_SubDComponentPtr::SetMark |
( |
| ) |
const |
Description: Sets (sets to true) the value of the component mark. Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specfic state. Returns: Input value of Mark().
◆ SetMark() [2/2]
bool ON_SubDComponentPtr::SetMark |
( |
bool |
bMark | ) |
const |
Description: Sets the value of the component mark to bMark. Parameter: bMark - [in] Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specfic state. Returns: Input value of Mark().
◆ SetMarkBits()
◆ SetStates()
Returns: 1: status changed. 0: status not changed.
◆ SetStatus()
Description: Makes "this" an exact copy of status. Parameters: status - [in] Returns: 1: status changed. 0: status not changed.
◆ Status()
◆ ToString() [1/2]
const ON_wString ON_SubDComponentPtr::ToString |
( |
| ) |
const |
◆ ToString() [2/2]
wchar_t* ON_SubDComponentPtr::ToString |
( |
wchar_t * |
s, |
|
|
size_t |
s_capacity |
|
) |
| const |
◆ Vertex()
◆ VertexPtr()
◆ m_ptr
ON__UINT_PTR ON_SubDComponentPtr::m_ptr |
For performance reasons, m_ptr is not initialized and no constructors are declared or implemented. If you require initialization, then use x = ON_SubDComponentPtr::Null or x = ON_SubDComponentPtr::Create(...).
◆ Null
// nullptr, type = unset, mark = 0