Rhino C++ API  8.14
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Friends | List of all members
ON_SubDVertexIdIterator Class Reference

#include <opennurbs_subd.h>

Inheritance diagram for ON_SubDVertexIdIterator:
ON_FixedSizePoolIterator

Public Member Functions

 ON_SubDVertexIdIterator ()=default
 
 ON_SubDVertexIdIterator (const ON_SubD &subd)
 
 ON_SubDVertexIdIterator (const ON_SubDRef &subd_ref)
 
 ON_SubDVertexIdIterator (const ON_SubDVertexIdIterator &)=default
 
 ~ON_SubDVertexIdIterator ()=default
 
const ON_SubDVertexCurrentVertex () const
 
const ON_SubDVertexFirstVertex ()
 
const ON_SubDVertexFirstVertexOnLevel (unsigned int level_index)
 
const ON_SubDVertexNextVertex ()
 
const ON_SubDVertexNextVertexOnLevel (unsigned int level_index)
 
ON_SubDVertexIdIteratoroperator= (const ON_SubDVertexIdIterator &)=default
 

Friends

class ON_SubDHeap
 

Detailed Description

ON_SubDVertexIdIterator

Constructor & Destructor Documentation

◆ ON_SubDVertexIdIterator() [1/4]

ON_SubDVertexIdIterator::ON_SubDVertexIdIterator ( )
default

◆ ~ON_SubDVertexIdIterator()

ON_SubDVertexIdIterator::~ON_SubDVertexIdIterator ( )
default

◆ ON_SubDVertexIdIterator() [2/4]

ON_SubDVertexIdIterator::ON_SubDVertexIdIterator ( const ON_SubDVertexIdIterator )
default

◆ ON_SubDVertexIdIterator() [3/4]

ON_SubDVertexIdIterator::ON_SubDVertexIdIterator ( const ON_SubDRef subd_ref)

◆ ON_SubDVertexIdIterator() [4/4]

ON_SubDVertexIdIterator::ON_SubDVertexIdIterator ( const ON_SubD subd)

Member Function Documentation

◆ CurrentVertex()

const ON_SubDVertex* ON_SubDVertexIdIterator::CurrentVertex ( ) const

Returns: The most recently returned vertex from a call to FirstVertex() or NextVertex().

◆ FirstVertex()

const ON_SubDVertex* ON_SubDVertexIdIterator::FirstVertex ( )

Description: In general, you want to use a ON_SubDVertexIterator to loop through SubD vertices. This is a special tool for unusual sitiations when it is necessary to iteratate through every vertex on every level of a SubD in order of increasing m_id value. Returns: The vertex with the smallest id.

◆ FirstVertexOnLevel()

const ON_SubDVertex* ON_SubDVertexIdIterator::FirstVertexOnLevel ( unsigned int  level_index)

◆ NextVertex()

const ON_SubDVertex* ON_SubDVertexIdIterator::NextVertex ( )

Description: In general, you want to use a ON_SubDVertexIterator to loop through SubD vertices. This is a special tool for unusual sitiations when it is necessary to iteratate through every vertex on every level of a SubD in order of increasing m_id value. Returns: The vertex in order of increasing id.

◆ NextVertexOnLevel()

const ON_SubDVertex* ON_SubDVertexIdIterator::NextVertexOnLevel ( unsigned int  level_index)

◆ operator=()

ON_SubDVertexIdIterator& ON_SubDVertexIdIterator::operator= ( const ON_SubDVertexIdIterator )
default

Friends And Related Function Documentation

◆ ON_SubDHeap

friend class ON_SubDHeap
friend