#include <opennurbs_subd.h>
◆ ON_SubDFaceIterator() [1/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubD & |
subd | ) |
|
◆ ON_SubDFaceIterator() [2/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubD & |
subd, |
|
|
unsigned |
level_index |
|
) |
| |
An expert tool to iteratate over existing faces on a specified level.
- Parameters
-
◆ ON_SubDFaceIterator() [3/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubDRef & |
subd_ref | ) |
|
◆ ON_SubDFaceIterator() [4/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubD & |
subd, |
|
|
const class ON_SubDFace & |
face |
|
) |
| |
Construct and iterator that iterates over the single face.
◆ ON_SubDFaceIterator() [5/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubDRef & |
subd_ref, |
|
|
const class ON_SubDFace & |
face |
|
) |
| |
Construct and iterator that iterates over the single face.
◆ ON_SubDFaceIterator() [6/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubD & |
subd, |
|
|
const class ON_SubDVertex & |
vertex |
|
) |
| |
Construct and iterator that iterates over the faces of a vertex.
◆ ON_SubDFaceIterator() [7/11]
Construct and iterator that iterates over the faces of a vertex.
◆ ON_SubDFaceIterator() [8/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubD & |
subd, |
|
|
const class ON_SubDEdge & |
edge |
|
) |
| |
Construct and iterator that iterates over the faces of an edge.
◆ ON_SubDFaceIterator() [9/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
const class ON_SubDRef & |
subd_ref, |
|
|
const class ON_SubDEdge & |
edge |
|
) |
| |
Construct and iterator that iterates over the faces of an edge.
◆ ON_SubDFaceIterator() [10/11]
ON_SubDFaceIterator::ON_SubDFaceIterator |
( |
| ) |
|
|
default |
◆ ON_SubDFaceIterator() [11/11]
◆ BaseComponentPtr()
Description: Get the iterator's base component in which we are iterating, if it exists. Returns: m_component_ptr if it exists, or ON_SubDComponentPtr::Null.
◆ BaseEdge()
Description: Get the iterator's base edge in which we are iterating, if it exists. Returns: m_component_ptr.Edge() if it exists, or nullptr.
◆ BaseVertex()
Description: Get the iterator's base vertex in which we are iterating, if it exists. Returns: m_component_ptr.Vertex() if it exists, or nullptr.
◆ CurrentFace()
const class ON_SubDFace* ON_SubDFaceIterator::CurrentFace |
( |
| ) |
const |
|
inline |
◆ CurrentFaceIndex()
unsigned int ON_SubDFaceIterator::CurrentFaceIndex |
( |
| ) |
const |
|
inline |
Return: Iterator index of the current face.
◆ FaceCount()
unsigned int ON_SubDFaceIterator::FaceCount |
( |
| ) |
const |
|
inline |
Return: Number of faces this iterator will iterate through.
◆ FirstFace()
const class ON_SubDFace* ON_SubDFaceIterator::FirstFace |
( |
| ) |
|
|
inline |
Description: Set the iterator to the beginning of the face list. Returns: First face in the list.
◆ LastFace()
const class ON_SubDFace* ON_SubDFaceIterator::LastFace |
( |
| ) |
|
|
inline |
Description: Set the iterator to the end of the face list. Returns: Last face in the list.
◆ MeshFragmentCount()
unsigned int ON_SubDFaceIterator::MeshFragmentCount |
( |
| ) |
const |
◆ NextFace()
const class ON_SubDFace* ON_SubDFaceIterator::NextFace |
( |
| ) |
|
|
inline |
◆ operator++() [1/2]
const class ON_SubDFace* ON_SubDFaceIterator::operator++ |
( |
| ) |
|
|
inline |
Description: Prefix increment the iterator. Returns: Next face. Remarks: operator++(void) and NextFace() behave the same. In OpenNURBS 8.17 and earlier, this function was incorrectly implemented as a postfix increment (operator++(int)). This has been corrected in OpenNURBS 8.18. If you have a plugin compiled without inlining optimizations (e.g. in Debug mode), operator++(void) will be calling the version in opennurbs.dll distributed with Rhino that is used to run the plugin. If you have a plugin compiled with inlining optimizations (e.g. in Release mode), operator++(void) will behave like the version in opennurbs_subd.h distributed with the Rhino SDK that was used to compiled the plugin.
◆ operator++() [2/2]
const class ON_SubDFace* ON_SubDFaceIterator::operator++ |
( |
int |
| ) |
|
|
inline |
Description: Postfix increment the iterator. Returns: Current face. Remarks: operator++(int) and NextFace() behave differently.
◆ operator=()
◆ SubD()
const class ON_SubD& ON_SubDFaceIterator::SubD |
( |
| ) |
const |
|
inline |
Returns: The subD object for this iterator.
◆ SubDRef()
const class ON_SubDRef& ON_SubDFaceIterator::SubDRef |
( |
| ) |
const |
|
inline |