#include <opennurbs_subd.h>
|
| ON_SubDComponentRefList ()=default |
|
| ON_SubDComponentRefList (const ON_SubDComponentRefList &src) |
|
| ~ON_SubDComponentRefList () |
|
const ON_SubDComponentRef & | Append (const ON_SubDComponentRef &src_ref) |
|
const ON_SubDComponentRef & | Append (const ON_SubDComponentRef *src_ref) |
|
const ON_SubDComponentRef & | Append (const ON_SubDRef &subd_ref, ON_COMPONENT_INDEX ci, ON_SubDComponentLocation component_location, ON__UINT_PTR reference_id) |
|
const ON_SubDComponentRef & | Append (const ON_SubDRef &subd_ref, ON_SubDComponentPtr component_ptr, ON_SubDComponentLocation component_location, ON__UINT_PTR reference_id) |
|
const ON_SubDComponentRef & | AppendForExperts (const ON_SubD &subd, ON_COMPONENT_INDEX ci, ON_SubDComponentLocation component_location, ON__UINT_PTR reference_id) |
|
const ON_SubDComponentRef & | AppendForExperts (const ON_SubD &subd, ON_SubDComponentPtr component_ptr, ON_SubDComponentLocation component_location, ON__UINT_PTR reference_id) |
|
const ON_SubDComponentRef & | AppendForExperts (ON_SubDComponentRef *&ref) |
|
int | Clean () |
|
int | ComponentCount () const |
|
int | Count () const |
|
int | EdgeCount () const |
|
int | EdgeCount (ON_SubDEdgeTag edge_tag) const |
|
int | FaceCount () const |
|
ON_SubDComponentRefList & | operator= (const ON_SubDComponentRefList &src) |
|
const ON_SubDComponentRef & | operator[] (int) const |
|
void | Remove (int i) |
|
int | SubDCount () const |
|
ON_SubDComponentRef * | TransferForExperts (int i) |
|
int | VertexCount () const |
|
int | VertexCount (ON_SubDVertexTag vertex_tag) const |
|
◆ ON_SubDComponentRefList() [1/2]
ON_SubDComponentRefList::ON_SubDComponentRefList |
( |
| ) |
|
|
default |
◆ ~ON_SubDComponentRefList()
ON_SubDComponentRefList::~ON_SubDComponentRefList |
( |
| ) |
|
◆ ON_SubDComponentRefList() [2/2]
◆ Append() [1/4]
Description: Appends a copy of src_ref and returns a pointer to the ON_SubDComponentRef managed by this class.
◆ Append() [2/4]
◆ Append() [3/4]
◆ Append() [4/4]
◆ AppendForExperts() [1/3]
Description: Expert user function to append a ON_SubDComponentRef to the identified component. The expert user is responsible for insuring subd exists fot the lifetime of this class.
◆ AppendForExperts() [2/3]
◆ AppendForExperts() [3/3]
Description: Expert user function to transfer management of an ON_SubDComponentRef on the heap to this class.
◆ Clean()
int ON_SubDComponentRefList::Clean |
( |
| ) |
|
◆ ComponentCount()
int ON_SubDComponentRefList::ComponentCount |
( |
| ) |
const |
Returns: Number of components.
◆ Count()
int ON_SubDComponentRefList::Count |
( |
| ) |
const |
Returns: Number of refs in the list.
◆ EdgeCount() [1/2]
int ON_SubDComponentRefList::EdgeCount |
( |
| ) |
const |
Returns: Number of edges.
◆ EdgeCount() [2/2]
int ON_SubDComponentRefList::EdgeCount |
( |
ON_SubDEdgeTag |
edge_tag | ) |
const |
Returns: Number of edges with the specified tag.
◆ FaceCount()
int ON_SubDComponentRefList::FaceCount |
( |
| ) |
const |
Returns: Number of faces.
◆ operator=()
◆ operator[]()
◆ Remove()
void ON_SubDComponentRefList::Remove |
( |
int |
i | ) |
|
◆ SubDCount()
int ON_SubDComponentRefList::SubDCount |
( |
| ) |
const |
Returns: If the list is clean, the number of subd objects in the list. Multiple components can belong to the same SubD. If the list is not clean, 0. Remarks: Use Clean() to get a clean list.
◆ TransferForExperts()
Description: Transfers the ref to an expert user who is responsible for properly managing it.
◆ VertexCount() [1/2]
int ON_SubDComponentRefList::VertexCount |
( |
| ) |
const |
Returns: Number of vertices.
◆ VertexCount() [2/2]
Returns: Number of vertices with the specified tag.