#include <opennurbs_xform.h>
◆ TYPE
| Enumerator |
|---|
| no_type | |
| sphere_type | |
| plane_type | |
| cylinder_type | |
| curve_type | |
| surface_type | |
| distance_type | |
| force_32bit_localizer_type | |
◆ ON_Localizer() [1/2]
| ON_Localizer::ON_Localizer |
( |
| ) |
|
◆ ~ON_Localizer()
| ON_Localizer::~ON_Localizer |
( |
| ) |
|
◆ ON_Localizer() [2/2]
◆ CreateCylinderLocalizer()
- Parameters
-
| P | [in] cylinder axis point |
| D | [in] cylinder axis direction |
| r0 | [in] |
| r1 | [in] r0 and r1 are radii that control where the localizer is nonzero. Both r0 and r1 must be postive and the cannot be equal. If 0 < r0 < r1, then the localizer is zero for points inside the cylinder of radius r0 and one for points outside the cylinder of radius r1. If 0 < r1 < r0, then the localizer is one for points inside the cylinder of radius r1 and zero for points outside the cylinder of radius r0. |
- Returns
- True if the input is value and the localizer is initialized.
◆ CreatePlaneLocalizer()
- Parameters
-
| P | [in] point on plane |
| N | [in] normal to plane |
| h0 | [in] |
| h1 | [in] h0 and h1 are signed distances that control where the localizer is nonzero. |
- Returns
- True if the input is value and the localizer is initialized.
◆ CreateSphereLocalizer()
| bool ON_Localizer::CreateSphereLocalizer |
( |
ON_3dPoint |
P, |
|
|
double |
r0, |
|
|
double |
r1 |
|
) |
| |
- Parameters
-
| P | [in] center of sphere |
| r0 | [in] |
| r1 | [in] r0 and r1 are radii that control where the localizer is nonzero. Both r0 and r1 must be postive and the cannot be equal. If 0 < r0 < r1, then the localizer is zero for points inside the cylinder of radius r0 and one for points outside the cylinder of radius r1. If 0 < r1 < r0, then the localizer is one for points inside the cylinder of radius r1 and zero for points outside the cylinder of radius r0. |
- Returns
- True if the input is value and the localizer is initialized.
◆ Destroy()
| void ON_Localizer::Destroy |
( |
| ) |
|
◆ IsZero()
- Parameters
-
- Returns
- True if localizer is identically zero inside bbox.
◆ operator=()
◆ Read()
◆ Value() [1/2]
Evaluators.
- Parameters
-
| P | [in] Evaluation point |
| distance | [in] Evaluation distance |
- Returns
- Value of the localizer.
◆ Value() [2/2]
| double ON_Localizer::Value |
( |
double |
distance | ) |
const |
◆ Write()
◆ m_d
◆ m_nurbs_curve
◆ m_nurbs_surface
◆ m_P
◆ m_type
| TYPE ON_Localizer::m_type |
◆ m_V