The HPS.EdgeAttributeControl class is a smart pointer that is tied to a database object. Using this control, you can manipulate the various attributes associated with geometry edges. Edges are present on any piece of facetted geometry.This table lists default values for the various segment attributes accessible from HPS.EdgeAttributeControl.
More...
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
static IntPtr | ClassID< T > () |
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The HPS.EdgeAttributeControl class is a smart pointer that is tied to a database object. Using this control, you can manipulate the various attributes associated with geometry edges. Edges are present on any piece of facetted geometry.This table lists default values for the various segment attributes accessible from HPS.EdgeAttributeControl.
HPS.EdgeAttributeControl.EdgeAttributeControl |
( |
HPS.SegmentKey |
in_seg | ) |
|
|
inline |
Initializes a control tied to the segment in_seg.
Initializes a control tied to the same object as in_that.
override HPS.Type HPS.EdgeAttributeControl.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Control.
Sets the angle between adjacent faces necessary for the edge between them to be considered a hard edge.
- Parameters
-
in_angle | The angle, in degrees, between the adjacent faces necessary for a hard edge. |
- Returns
- A reference to this object.
Specifies the pattern of edges.
- Returns
- A reference to this object.
Sets the weight of lines drawn in edge rendering.
- Parameters
-
in_weight | The weight value for edges. |
in_units | The units applied to in_weight. |
- Returns
- A reference to this object.
Sets the weight of lines drawn in edge rendering.
- Parameters
-
in_weight | The weight value for edges. |
- Returns
- A reference to this object.
bool HPS.EdgeAttributeControl.ShowHardAngle |
( |
out float |
out_angle | ) |
|
|
inline |
Shows the weight of lines drawn in edge rendering.
- Parameters
-
out_angle | The angle, in degrees, between the adjacent faces necessary for a hard edge. |
- Returns
- true if the setting is valid, false otherwise.
bool HPS.EdgeAttributeControl.ShowPattern |
( |
out string |
out_pattern_name | ) |
|
|
inline |
Shows the line pattern of the edges.
- Returns
- true if the setting is valid, false otherwise.
bool HPS.EdgeAttributeControl.ShowWeight |
( |
out float |
out_weight, |
|
|
out HPS.Edge.SizeUnits |
out_units |
|
) |
| |
|
inline |
Shows the weight of lines drawn in edge rendering.
- Parameters
-
out_weight | The weight value for edges. |
out_units | The units applied to in_weight. |
- Returns
- true if the setting is valid, false otherwise.
override HPS.Type HPS.EdgeAttributeControl.Type |
( |
| ) |
|
|
inlinevirtual |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
- Returns
- The true type of the object in question.
Reimplemented from HPS.Control.
Removes all settings from this object.
- Returns
- A reference to this object.
Removes the hard edge angle setting.
- Returns
- A reference to this object.
Removes the line pattern setting for edges.
- Returns
- A reference to this object.
Removes the weight setting for edges.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.EdgeAttributeControl.cs