#include <opennurbs_subd.h>
◆ ClearMark()
bool ON_SubDFacePtr::ClearMark |
( |
| ) |
const |
Description: Clears (sets to false) the value of the component mark. Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specific state. Returns: Input value of Mark().
◆ ClearMarkBits()
ON__UINT8 ON_SubDFacePtr::ClearMarkBits |
( |
| ) |
const |
◆ ClearSavedSubdivisionPoints() [1/2]
void ON_SubDFacePtr::ClearSavedSubdivisionPoints |
( |
| ) |
const |
◆ ClearSavedSubdivisionPoints() [2/2]
void ON_SubDFacePtr::ClearSavedSubdivisionPoints |
( |
bool |
bClearNeighborhood | ) |
const |
Description: Clears saved subdivision and limit surface information for this component. Parameters: bClearNeighborhood - [in] If true, all components attached to this component are also cleared. summary> The SubD face Catmull-Clark subdivision point. /summary>
◆ Compare()
◆ CompareFacePointer()
◆ Create() [1/2]
◆ Create() [2/2]
◆ DoubleSubdivisionPoint() [1/2]
const ON_3dPoint ON_SubDFacePtr::DoubleSubdivisionPoint |
( |
| ) |
const |
Get the location of the subdivision point of faces's subdivision vertex.
- Returns
- Catmull-Clark face double subdivision point.
◆ DoubleSubdivisionPoint() [2/2]
const ON_3dPoint ON_SubDFacePtr::DoubleSubdivisionPoint |
( |
unsigned |
subdivided_region_index | ) |
const |
Get the location of the subdivision point of the specified subdivison edge. Note that when an edge is subdivided one time a new subdivision vertex and two subdivision edges are created. If one of the subdivion edges are subdivided again, then that creates a subdivision vertex. This version of ON_SubDEdge::DoubleSubdivisionPoint(...) returns the location of that vertex. The subdivided_end_index parameter specifies which of the two initial subdivision edges are used.
- Parameters
-
subdivided_region_index | 0 <= subdivided_region_index < 2*face.EdgeCount(). This parameter specifies which of the 2*face.EdgeCount() possible points to return. |
When subdivided_region_index = 2*i (even), the subdivision point of the subdivided face with 4 corners face.Vertex(i).SubdivisionPoint(), face.Edge(i).SubdivisionPoint(), face.SubdivisionPoint(), face.Edge(i-1).SubdivisionPoint() is returned.
When subdivided_region_index = 2*i+1 (odd), the subdivision point of the subdivided edge connecting face.Edge(i).SubdivisionPoint() and face.SubdivisionPoint() is returned.
- Returns
- The specified double subdivision point.
◆ Face()
◆ FaceDirection()
ON__UINT_PTR ON_SubDFacePtr::FaceDirection |
( |
| ) |
const |
◆ FaceEdgeCount()
unsigned int ON_SubDFacePtr::FaceEdgeCount |
( |
| ) |
const |
Returns: If Face() is not nullptr, Face()->EdgeCount() is returned. Otherwise, 0 is returned.
◆ FaceId()
unsigned int ON_SubDFacePtr::FaceId |
( |
| ) |
const |
Returns: If Face() is not nullptr, Face()->m_id is returned. Otherwise, 0 is returned.
◆ IsActive()
bool ON_SubDFacePtr::IsActive |
( |
| ) |
const |
Returns: True if this face is active in its parent subd or other relevant context. Remarks: When a component is in use, IsActive() = true. If was used and then deleted, IsActive() is false.
◆ IsNotNull()
bool ON_SubDFacePtr::IsNotNull |
( |
| ) |
const |
◆ IsNull()
bool ON_SubDFacePtr::IsNull |
( |
| ) |
const |
◆ Mark()
bool ON_SubDFacePtr::Mark |
( |
| ) |
const |
Returns: The current value of the component mark ( m_status->RuntimeMark() ). Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specific state.
◆ MarkBits()
◆ Reversed()
Returns: A ON_SubDFacePtr pointing at the same face with the direction reversed from this.
◆ SetMark() [1/2]
bool ON_SubDFacePtr::SetMark |
( |
| ) |
const |
Description: Sets (sets to true) the value of the component mark. Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specific state. Returns: Input value of Mark().
◆ SetMark() [2/2]
bool ON_SubDFacePtr::SetMark |
( |
bool |
bMark | ) |
const |
Description: Sets the value of the component mark to bMark. Parameter: bMark - [in] Remarks: SubD components have a mutable runtime mark that can be used in any context where a single thread cares about the marks. It is widely used in many calculations to keep track of sets of components that are in a certain context specific state. Returns: Input value of Mark().
◆ SetMarkBits()
◆ Status()
◆ SubdivisionPoint() [1/2]
const ON_3dPoint ON_SubDFacePtr::SubdivisionPoint |
( |
| ) |
const |
◆ SubdivisionPoint() [2/2]
const ON_3dPoint ON_SubDFacePtr::SubdivisionPoint |
( |
unsigned |
subdivision_count | ) |
const |
Get the location of the face's subdivision vertex.
- Parameters
-
subdivision_count | subdivision_count >= 1 is the number of subdivisions to perform. |
- Returns
- Catmull-Clark face subdivision point.
◆ m_ptr
ON__UINT_PTR ON_SubDFacePtr::m_ptr |
For performance reasons, m_ptr is not initialized and no constructors are declared or implemented. If you require initialization, then use x = ON_SubDFacePtr::Null or x = ON_SubDFacePtr::Create(...).
◆ Null