#include <opennurbs_subd.h>
|
static int | CompareRingAndSurfacePointVertexId (const ON_SubDVertexSurfacePointCoefficient *lhs, const ON_SubDVertexSurfacePointCoefficient *rhs) |
|
static int | CompareRingVertexId (const ON_SubDVertexSurfacePointCoefficient *lhs, const ON_SubDVertexSurfacePointCoefficient *rhs) |
|
static int | CompareSurfacePointAndRingVertexId (const ON_SubDVertexSurfacePointCoefficient *lhs, const ON_SubDVertexSurfacePointCoefficient *rhs) |
|
static int | CompareSurfacePointVertexId (const ON_SubDVertexSurfacePointCoefficient *lhs, const ON_SubDVertexSurfacePointCoefficient *rhs) |
|
static const ON_SubDVertexSurfacePointCoefficient | Create (const ON_SubDVertex *limit_point_vertex, const ON_SubDVertex *ring_vertex, double x) |
|
static bool | GetSurfacePointLinearSystemMatrix (unsigned int vertex_count, const ON_SimpleArray< ON_SubDVertexSurfacePointCoefficient > &coefficients, ON_Matrix &m, ON_SimpleArray< const ON_SubDVertex * > &v) |
|
static bool | TestCoefficients (const ON_Matrix &m, const ON_SimpleArray< const ON_SubDVertex * > &v, double deviation_tolerance, double &maximum_deviation, unsigned int &failed_coefficient_index, ON_TextLog &text_log) |
|
static bool | TestCoefficients (const ON_SimpleArray< ON_SubDVertexSurfacePointCoefficient > &coefficients, double deviation_tolerance, double &maximum_deviation, unsigned int &failed_coefficient_index, ON_TextLog &text_log) |
|
◆ ON_SubDVertexSurfacePointCoefficient() [1/2]
ON_SubDVertexSurfacePointCoefficient::ON_SubDVertexSurfacePointCoefficient |
( |
| ) |
|
|
default |
◆ ~ON_SubDVertexSurfacePointCoefficient()
ON_SubDVertexSurfacePointCoefficient::~ON_SubDVertexSurfacePointCoefficient |
( |
| ) |
|
|
default |
◆ ON_SubDVertexSurfacePointCoefficient() [2/2]
◆ Coefficient()
double ON_SubDVertexSurfacePointCoefficient::Coefficient |
( |
| ) |
const |
◆ CompareRingAndSurfacePointVertexId()
◆ CompareRingVertexId()
◆ CompareSurfacePointAndRingVertexId()
◆ CompareSurfacePointVertexId()
◆ Create()
◆ GetSurfacePointLinearSystemMatrix()
Description: Get the system of linear equations that calculate vertex limit point locations from the corresponding ring vertices's control net points. This information is useful when solving location interpolation problems. Parameters: m - [out] v - [out] The linear system of equations that calculates vertex limit points from vertex control net points is returned in matrix form: v[i]->SurfacePoint = sum(0 <= j < c) m[i][j]*v[j]->ControlNetPoint(). Returns: True if m and v were returned.
◆ operator=()
◆ RingVertexId()
unsigned int ON_SubDVertexSurfacePointCoefficient::RingVertexId |
( |
| ) |
const |
◆ SurfacePointVertexId()
unsigned int ON_SubDVertexSurfacePointCoefficient::SurfacePointVertexId |
( |
| ) |
const |
◆ TestCoefficients() [1/2]
static bool ON_SubDVertexSurfacePointCoefficient::TestCoefficients |
( |
const ON_Matrix & |
m, |
|
|
const ON_SimpleArray< const ON_SubDVertex * > & |
v, |
|
|
double |
deviation_tolerance, |
|
|
double & |
maximum_deviation, |
|
|
unsigned int & |
failed_coefficient_index, |
|
|
ON_TextLog & |
text_log |
|
) |
| |
|
static |
◆ TestCoefficients() [2/2]
Description: Test the coefficients by using them to calculate the location of each limit surface point and returning the maximum deviation. Returns: ON_DBL_QNAN: Invalid information in coefficients or invalid vertices referenced. >= 0: Maximum deviation between a location returned by ON_SubDVertex::GetSurfacePoint() and the location calculated from the coefficients.
◆ m_c
double ON_SubDVertexSurfacePointCoefficient::m_c = 0.0 |
The limit point of m_limit_point_vertex = sum of m_c*m_ring_vertex->ControlNetPoint() for every point in the ring of m_limit_point_vertex, including m_limit_point_vertex.
◆ m_limit_point_vertex
const ON_SubDVertex* ON_SubDVertexSurfacePointCoefficient::m_limit_point_vertex = nullptr |
◆ m_ring_vertex
const ON_SubDVertex* ON_SubDVertexSurfacePointCoefficient::m_ring_vertex = nullptr |
◆ Nan
ON_SubDVertexSurfacePointCoefficient::Nan.m_c = ON_DBL_QNAN.
◆ Unset
ON_SubDVertexSurfacePointCoefficient::Unset.m_c = ON_UNSET_VALUE.
◆ Zero
ON_SubDVertexSurfacePointCoefficient::Zero.m_c = 0.0.