REFERENCE MANUAL
The NURBSSurfaceAttributeControl class is a smart pointer that is tied to a database object. More...
Public Member Functions | |
override void | Dispose () |
NURBSSurfaceAttributeControl (HPS.SegmentKey in_seg) | |
Initializes a control tied to the segment in_seg. More... | |
NURBSSurfaceAttributeControl (HPS.NURBSSurfaceAttributeControl in_that) | |
Initializes a control tied to the same object as in_that. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
HPS.NURBSSurfaceAttributeControl | SetBudget (ulong in_budget) |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of NURBS surfaces. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumAngle (float in_degrees) |
Sets the largest angle allowed between the surface tangents evaluated at any two corners of a given facet. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumDeviation (float in_deviation) |
Sets an upper bound for the distance, in object space, of the tessellation to the parametric definition of the surface. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumTrimDeviation (float in_deviation) |
Sets an upper bound for the distance, in the NURBS surface's normalized [0..1] parametric space, of trim curve vertices from the parametric definition of the trimming curve. More... | |
HPS.NURBSSurfaceAttributeControl | SetMaximumWidth (float in_width) |
The largest allowable length, in the NURBS surface's normalized [0..1] parametric space, of any facet's edge. More... | |
HPS.NURBSSurfaceAttributeControl | SetTrimBudget (ulong in_budget) |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of a trim curve. More... | |
bool | ShowBudget (out ulong out_budget) |
Shows the NURBS surface tessellation budget. More... | |
bool | ShowMaximumAngle (out float out_degrees) |
Shows the largest angle allowed between the surface tangents. More... | |
bool | ShowMaximumDeviation (out float out_deviation) |
Shows the upper bound of the difference between the NURBS surface and its parametric definition. More... | |
bool | ShowMaximumTrimDeviation (out float out_deviation) |
Shows the upper bound of trim curve vertices from the parametric definition of the trimming curve. More... | |
bool | ShowMaximumWidth (out float out_width) |
Shows the setting for the largest allowable length of any facet's edge. More... | |
bool | ShowTrimBudget (out ulong out_budget) |
Shows the upper bound of vertices to be used in trim curve tessellation. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetBudget () |
Unsets the NURBS surface tessellation budget. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetEverything () |
Removes all settings from this object. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumAngle () |
Removes the largest angle allowed between the surface tangents. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumDeviation () |
Removes the upper bound of the difference between the NURBS surface and its parametric definition. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumTrimDeviation () |
Removes the upper bound of trim curve vertices from the parametric definition of the trimming curve. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetMaximumWidth () |
Removes the setting for the largest allowable length of any facet's edge. More... | |
HPS.NURBSSurfaceAttributeControl | UnsetTrimBudget () |
Removes the upper bound of vertices to be used in trim curve tessellation. More... | |
![]() | |
Control (HPS.Control in_that) | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. More... | |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The NURBSSurfaceAttributeControl class is a smart pointer that is tied to a database object.
This object allows you to manipulate various settings related to NURBS surfaces, such as budget, angle, deviation, and width. This table lists default values for the various segment attributes accessible from NURBSSurfaceAttributeControl.
HPS.NURBSSurfaceAttributeControl.NURBSSurfaceAttributeControl | ( | HPS.SegmentKey | in_seg | ) |
Initializes a control tied to the segment in_seg.
HPS.NURBSSurfaceAttributeControl.NURBSSurfaceAttributeControl | ( | HPS.NURBSSurfaceAttributeControl | in_that | ) |
Initializes a control tied to the same object as in_that.
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.SetBudget | ( | ulong | in_budget | ) |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of NURBS surfaces.
in_budget | The maximum number of vertices to be used in NURBS surface tessellation. |
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.SetMaximumAngle | ( | float | in_degrees | ) |
Sets the largest angle allowed between the surface tangents evaluated at any two corners of a given facet.
Expressed in degrees.
in_degrees | The maximum angle allowed between the surface tangents, in degrees. |
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.SetMaximumDeviation | ( | float | in_deviation | ) |
Sets an upper bound for the distance, in object space, of the tessellation to the parametric definition of the surface.
Note that since this setting is in object space, it should be set differently depending on the scale of the NURBS control points.
in_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the surface. |
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.SetMaximumTrimDeviation | ( | float | in_deviation | ) |
Sets an upper bound for the distance, in the NURBS surface's normalized [0..1] parametric space, of trim curve vertices from the parametric definition of the trimming curve.
in_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the trimming curve. |
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.SetMaximumWidth | ( | float | in_width | ) |
The largest allowable length, in the NURBS surface's normalized [0..1] parametric space, of any facet's edge.
in_width | The largest allowable length of any facet's edge. Valid range is [0, sqrt(2)]. |
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.SetTrimBudget | ( | ulong | in_budget | ) |
Sets an upper bound on the number of vertices that will be allowed in the tessellation of a trim curve.
in_budget | The maximum number of vertices to be used in trim curve tessellation. |
bool HPS.NURBSSurfaceAttributeControl.ShowBudget | ( | out ulong | out_budget | ) |
Shows the NURBS surface tessellation budget.
out_budget | The maximum number of vertices to be used in NURBS surface tessellation. |
bool HPS.NURBSSurfaceAttributeControl.ShowMaximumAngle | ( | out float | out_degrees | ) |
Shows the largest angle allowed between the surface tangents.
out_degrees | The maximum angle allowed between the surface tangents, in degrees. |
bool HPS.NURBSSurfaceAttributeControl.ShowMaximumDeviation | ( | out float | out_deviation | ) |
Shows the upper bound of the difference between the NURBS surface and its parametric definition.
out_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the surface. |
bool HPS.NURBSSurfaceAttributeControl.ShowMaximumTrimDeviation | ( | out float | out_deviation | ) |
Shows the upper bound of trim curve vertices from the parametric definition of the trimming curve.
out_deviation | The maximum distance, in object space, of the tessellation to the parametric definition of the trimming curve. |
bool HPS.NURBSSurfaceAttributeControl.ShowMaximumWidth | ( | out float | out_width | ) |
Shows the setting for the largest allowable length of any facet's edge.
out_width | The largest allowable length of any facet's edge.. |
bool HPS.NURBSSurfaceAttributeControl.ShowTrimBudget | ( | out ulong | out_budget | ) |
Shows the upper bound of vertices to be used in trim curve tessellation.
out_budget | The maximum number of vertices to be used in trim curve tessellation. |
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetBudget | ( | ) |
Unsets the NURBS surface tessellation budget.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetEverything | ( | ) |
Removes all settings from this object.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetMaximumAngle | ( | ) |
Removes the largest angle allowed between the surface tangents.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetMaximumDeviation | ( | ) |
Removes the upper bound of the difference between the NURBS surface and its parametric definition.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetMaximumTrimDeviation | ( | ) |
Removes the upper bound of trim curve vertices from the parametric definition of the trimming curve.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetMaximumWidth | ( | ) |
Removes the setting for the largest allowable length of any facet's edge.
HPS.NURBSSurfaceAttributeControl HPS.NURBSSurfaceAttributeControl.UnsetTrimBudget | ( | ) |
Removes the upper bound of vertices to be used in trim curve tessellation.