The TrimElement class is a user space object. It is used to specify the curves that are used to define a trim region.
More...
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
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 |
( |
| ) |
|
|
inline |
The default constructor creates an empty TrimElement object.
The copy constructor creates a new TrimElement object that contains the same settings as the source TrimElement.
- Parameters
-
This constructor creates a TrimElement with a line.
- Parameters
-
in_line | The line for this TrimElement. 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. |
This constructor creates a TrimElement with a NURBS curve.
- Parameters
-
in_curve | The NURBS curve for this TrimElement. 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. |
Check if the source TrimElement is equivalent to this TrimElement.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
override HPS.Type HPS.TrimElement.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.Object.
Sets a line as the curve for this TrimElement.
- Parameters
-
in_line | The line for this TrimElement. 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. |
Sets a NURBS curve as the curve for this TrimElement.
- Parameters
-
in_curve | The NURBS curve for this TrimElement. 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. |
Shows the curve for this TrimElement.
- Parameters
-
out_type | The type of curve used for this TrimElement. |
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. |
- Returns
- true if a line or NURBS curve was set, false otherwise.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.TrimElement.cs