Rhino C++ API  8.13
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ON_SubDRTreeVertexFinder Class Reference

#include <opennurbs_subd.h>

Public Types

enum  MarkBitsFilter : unsigned char { MarkBitsFilter::None = 0, MarkBitsFilter::Equal = 1, MarkBitsFilter::NotEqual = 2 }
 

Public Member Functions

 ON_SubDRTreeVertexFinder ()=default
 
 ON_SubDRTreeVertexFinder (const ON_SubDRTreeVertexFinder &)=default
 
 ~ON_SubDRTreeVertexFinder ()=default
 
ON_SubDRTreeVertexFinderoperator= (const ON_SubDRTreeVertexFinder &)=default
 

Static Public Member Functions

static bool Callback (void *a_context, ON__INT_PTR a_id)
 
static const ON_SubDRTreeVertexFinder Create (const ON_3dPoint P)
 
static const ON_SubDRTreeVertexFinder Create (const ON_3dPoint P, bool bMarkFilter)
 
static const ON_SubDRTreeVertexFinder Create (const ON_3dPoint P, ON_SubDRTreeVertexFinder::MarkBitsFilter mark_bits_filter, ON__UINT8 mark_bits)
 

Public Attributes

bool m_bMarkFilter = false
 
bool m_bMarkFilterEnabled = false
 
double m_distance = ON_DBL_QNAN
 
ON__UINT8 m_mark_bits = 0
 
ON_SubDRTreeVertexFinder::MarkBitsFilter m_mark_bits_filter = ON_SubDRTreeVertexFinder::MarkBitsFilter::None
 
ON_3dPoint m_P = ON_3dPoint::NanPoint
 
const ON_SubDVertexm_v = nullptr
 

Static Public Attributes

static const ON_SubDRTreeVertexFinder Unset
 

Member Enumeration Documentation

◆ MarkBitsFilter

enum ON_SubDRTreeVertexFinder::MarkBitsFilter : unsigned char
strong
Enumerator
None 
Equal 
NotEqual 

Constructor & Destructor Documentation

◆ ON_SubDRTreeVertexFinder() [1/2]

ON_SubDRTreeVertexFinder::ON_SubDRTreeVertexFinder ( )
default

◆ ~ON_SubDRTreeVertexFinder()

ON_SubDRTreeVertexFinder::~ON_SubDRTreeVertexFinder ( )
default

◆ ON_SubDRTreeVertexFinder() [2/2]

ON_SubDRTreeVertexFinder::ON_SubDRTreeVertexFinder ( const ON_SubDRTreeVertexFinder )
default

Member Function Documentation

◆ Callback()

static bool ON_SubDRTreeVertexFinder::Callback ( void *  a_context,
ON__INT_PTR  a_id 
)
static

◆ Create() [1/3]

static const ON_SubDRTreeVertexFinder ON_SubDRTreeVertexFinder::Create ( const ON_3dPoint  P)
static

◆ Create() [2/3]

static const ON_SubDRTreeVertexFinder ON_SubDRTreeVertexFinder::Create ( const ON_3dPoint  P,
bool  bMarkFilter 
)
static

Parameters: bMarkFilter - [in] Vertices with Mark = bMarkFilter are eligible to be found. Vertices with Mark != bMarkFilter are ignored.

◆ Create() [3/3]

static const ON_SubDRTreeVertexFinder ON_SubDRTreeVertexFinder::Create ( const ON_3dPoint  P,
ON_SubDRTreeVertexFinder::MarkBitsFilter  mark_bits_filter,
ON__UINT8  mark_bits 
)
static

◆ operator=()

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

Member Data Documentation

◆ m_bMarkFilter

bool ON_SubDRTreeVertexFinder::m_bMarkFilter = false

◆ m_bMarkFilterEnabled

bool ON_SubDRTreeVertexFinder::m_bMarkFilterEnabled = false

When m_bMarkFilterEnabled is true, then vertices with Mark() == m_bMarkFilter are eligible to be found and vertices with Mark() != m_bMarkFilter are ignored.

◆ m_distance

double ON_SubDRTreeVertexFinder::m_distance = ON_DBL_QNAN

◆ m_mark_bits

ON__UINT8 ON_SubDRTreeVertexFinder::m_mark_bits = 0

◆ m_mark_bits_filter

◆ m_P

ON_3dPoint ON_SubDRTreeVertexFinder::m_P = ON_3dPoint::NanPoint

◆ m_v

const ON_SubDVertex* ON_SubDRTreeVertexFinder::m_v = nullptr

◆ Unset

const ON_SubDRTreeVertexFinder ON_SubDRTreeVertexFinder::Unset
static