REFERENCE MANUAL
The TrimElement class is a user space object. More...
Public Member Functions | |
override void | Dispose () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.TrimElement in_that) |
Check if the source TrimElement is equivalent to this TrimElement. More... | |
override int | GetHashCode () |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
void | Set (HPS.TrimElement in_that) |
Copies the source TrimElement into this TrimElement. More... | |
void | SetCurve (HPS.LineKit in_line) |
Sets a line as the curve for this TrimElement. More... | |
void | SetCurve (HPS.NURBSCurveKit in_curve) |
Sets a NURBS curve as the curve for this TrimElement. More... | |
bool | ShowCurve (out HPS.Trim.Type out_type, out HPS.LineKit out_line, out HPS.NURBSCurveKit out_curve) |
Shows the curve for this TrimElement. More... | |
TrimElement () | |
The default constructor creates an empty TrimElement object. More... | |
TrimElement (HPS.TrimElement in_that) | |
The copy constructor creates a new TrimElement object that contains the same settings as the source TrimElement. More... | |
TrimElement (HPS.LineKit in_line) | |
This constructor creates a TrimElement with a line. More... | |
TrimElement (HPS.NURBSCurveKit in_curve) | |
This constructor creates a TrimElement with a NURBS curve. More... | |
![]() | |
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... | |
Static Public Member Functions | |
static bool | operator!= (HPS.TrimElement a, HPS.TrimElement b) |
static bool | operator== (HPS.TrimElement a, HPS.TrimElement b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The TrimElement class is a user space object.
It is used to specify the curves that are used to define a trim region.
HPS.TrimElement.TrimElement | ( | ) |
The default constructor creates an empty TrimElement object.
HPS.TrimElement.TrimElement | ( | HPS.TrimElement | in_that | ) |
The copy constructor creates a new TrimElement object that contains the same settings as the source TrimElement.
in_that | The source <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref> to copy. |
HPS.TrimElement.TrimElement | ( | HPS.LineKit | in_line | ) |
This constructor creates a TrimElement with a line.
in_line | The line for this <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref>. Only the X and Y coordinates of the points defining the line will be used when the trim region is applied to a surface. The coordinates will be treated as U and V parameter values in the normalized parameter space for the NURBS surface. |
HPS.TrimElement.TrimElement | ( | HPS.NURBSCurveKit | in_curve | ) |
This constructor creates a TrimElement with a NURBS curve.
in_curve | The NURBS curve for this <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref>. Only the X and Y coordinates of the control points defining the curve will be used when the trim region is applied to a surface. The coordinates will be treated as U and V parameter values in the normalized parameter space for the NURBS surface. |
bool HPS.TrimElement.Equals | ( | HPS.TrimElement | in_that | ) |
Check if the source TrimElement is equivalent to this TrimElement.
in_that | The source <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref> to compare to this <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref>. |
|
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.
void HPS.TrimElement.Set | ( | HPS.TrimElement | in_that | ) |
Copies the source TrimElement into this TrimElement.
in_that | The source <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref> to copy. |
void HPS.TrimElement.SetCurve | ( | HPS.LineKit | in_line | ) |
Sets a line as the curve for this TrimElement.
in_line | The line for this <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref>. Only the X and Y coordinates of the points defining the line will be used when the trim region is applied to a surface. The coordinates will be treated as U and V parameter values in the normalized parameter space for the NURBS surface. |
void HPS.TrimElement.SetCurve | ( | HPS.NURBSCurveKit | in_curve | ) |
Sets a NURBS curve as the curve for this TrimElement.
in_curve | The NURBS curve for this <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref>. Only the X and Y coordinates of the control points defining the curve will be used when the trim region is applied to a surface. The coordinates will be treated as U and V parameter values in the normalized parameter space for the NURBS surface. |
bool HPS.TrimElement.ShowCurve | ( | out HPS.Trim.Type | out_type, |
out HPS.LineKit | out_line, | ||
out HPS.NURBSCurveKit | out_curve | ||
) |
Shows the curve for this TrimElement.
out_type | The type of curve used for this <ref refid="class_h_p_s_1_1_trim_element" kindref="compound">TrimElement</ref>. |
out_line | The line for the trim curve. This is only valid if out_type</type> is NURBSSurface::Line. |
out_curve | The NURBS curve for the trim curve. This is only valid if out_type</type> is NURBSSurface::Curve. |