#include <opennurbs_subd.h>
|
ON__UINT_PTR | m_ptr = 0 |
| classes derived from ON_SubDVertexFilter may use m_ptr as they see fit including to completely ignore it. More...
|
|
ON_SubDComponentTest Description: ON_SubDComponentTest is used in contexts where custom testing or filtering of SubD components is required.
◆ ON_SubDComponentTest() [1/3]
ON_SubDComponentTest::ON_SubDComponentTest |
( |
| ) |
|
|
default |
◆ ~ON_SubDComponentTest()
virtual ON_SubDComponentTest::~ON_SubDComponentTest |
( |
| ) |
|
|
virtual |
◆ ON_SubDComponentTest() [2/3]
◆ ON_SubDComponentTest() [3/3]
ON_SubDComponentTest::ON_SubDComponentTest |
( |
ON__UINT_PTR |
ptr | ) |
|
◆ operator=()
◆ Passes() [1/4]
bool ON_SubDComponentTest::Passes |
( |
const class ON_SubDEdge * |
e | ) |
const |
◆ Passes() [2/4]
bool ON_SubDComponentTest::Passes |
( |
const class ON_SubDFace * |
f | ) |
const |
◆ Passes() [3/4]
bool ON_SubDComponentTest::Passes |
( |
const class ON_SubDVertex * |
v | ) |
const |
◆ Passes() [4/4]
Description: Typically, a derived class overrides this function, uses it to inspect vertex properties, and returns true or false. Parameters: v - [in] vertex being tested. Returns: true if the vertex "passes" the test. false if the vertex "fails" the text. Remarks: The default implementation returns (cptr.IsNotNull() && 0 != m_ptr);
Reimplemented in ON_SubDComponentIdList.
◆ AllFail
Passes() returns false for every component.
◆ AllPass
Passes() returns true for every non nullptr component.
◆ m_ptr
ON__UINT_PTR ON_SubDComponentTest::m_ptr = 0 |
|
protected |
classes derived from ON_SubDVertexFilter may use m_ptr as they see fit including to completely ignore it.