#include <hps.h>

Public Member Functions | |
bool | Empty () const |
bool | Equals (TrimKit const &in_kit) const |
HPS::Type | ObjectType () const |
bool | operator!= (TrimKit const &in_kit) const |
TrimKit & | operator= (TrimKit &&in_that) |
TrimKit & | operator= (TrimKit const &in_kit) |
bool | operator== (TrimKit const &in_kit) const |
void | Set (TrimKit const &in_kit) |
TrimKit & | SetOperation (Trim::Operation in_operation) |
TrimKit & | SetShape (size_t in_count, TrimElement const in_shape[]) |
TrimKit & | SetShape (TrimElementArray const &in_shape) |
TrimKit & | SetShape (TrimElement const &in_shape) |
void | Show (TrimKit &out_kit) const |
bool | ShowOperation (Trim::Operation &out_operation) const |
bool | ShowShape (TrimElementArray &out_shape) const |
TrimKit () | |
TrimKit (TrimKit const &in_kit) | |
TrimKit (TrimKit &&in_that) | |
TrimKit & | UnsetEverything () |
TrimKit & | UnsetOperation () |
TrimKit & | UnsetShape () |
![]() | |
virtual HPS::Type | Type () const |
![]() | |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (HPS::Type in_mask) const |
Object (Object const &that) | |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::TrimKit |
![]() | |
static const HPS::Type | staticType = HPS::Type::Kit |
![]() | |
static const HPS::Type | staticType = HPS::Type::None |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
![]() | |
Kit (Kit &&in_that) | |
Kit & | operator= (Kit &&in_that) |
Detailed Description
The TrimKit class is a user space object. It is used to define trim curves (either NURBS curves or lines) that can be used to trim NURBS surfaces.
Constructor & Destructor Documentation
HPS::TrimKit::TrimKit | ( | ) |
The default constructor creates an empty TrimKit object.
HPS::TrimKit::TrimKit | ( | TrimKit const & | in_kit | ) |
HPS::TrimKit::TrimKit | ( | TrimKit && | in_that | ) |
Member Function Documentation
|
virtual |
Indicates whether this TrimKit has any values set on it.
- Returns
- true if no values are set on this TrimKit, false otherwise.
Reimplemented from HPS::Object.
bool HPS::TrimKit::Equals | ( | TrimKit const & | in_kit | ) | const |
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS::Kit.
bool HPS::TrimKit::operator!= | ( | TrimKit const & | in_kit | ) | const |
bool HPS::TrimKit::operator== | ( | TrimKit const & | in_kit | ) | const |
void HPS::TrimKit::Set | ( | TrimKit const & | in_kit | ) |
TrimKit& HPS::TrimKit::SetOperation | ( | Trim::Operation | in_operation | ) |
Sets the operation for the trim.
- Parameters
-
in_operation The operation for the trim.
- Returns
- A reference to this TrimKit.
TrimKit& HPS::TrimKit::SetShape | ( | size_t | in_count, |
TrimElement const | in_shape[] | ||
) |
Sets the shape of the trim region. The shape is a collection of trim elements.
- Parameters
-
in_count Size of the following array. in_shape An array of trim elements defining a trim region.
- Returns
- A reference to this TrimKit.
TrimKit& HPS::TrimKit::SetShape | ( | TrimElementArray const & | in_shape | ) |
Sets the shape of the trim region. The shape is a collection of trim elements.
- Parameters
-
in_shape An array of trim elements defining a trim region.
- Returns
- A reference to this TrimKit.
TrimKit& HPS::TrimKit::SetShape | ( | TrimElement const & | in_shape | ) |
Sets the shape of the trim region.
- Parameters
-
in_shape An trim element defining a trim region.
- Returns
- A reference to this TrimKit.
void HPS::TrimKit::Show | ( | TrimKit & | out_kit | ) | const |
bool HPS::TrimKit::ShowOperation | ( | Trim::Operation & | out_operation | ) | const |
Shows the operation for the trim.
- Parameters
-
out_operation The operation for the trim.
- Returns
- true if an operation was set, false otherwise.
bool HPS::TrimKit::ShowShape | ( | TrimElementArray & | out_shape | ) | const |
Shows the shape of the trim region.
- Parameters
-
out_shape The array of trim elements defining a trim region.
- Returns
- true if a shape was set, false otherwise.
TrimKit& HPS::TrimKit::UnsetEverything | ( | ) |
TrimKit& HPS::TrimKit::UnsetOperation | ( | ) |
Removes the operation for the trim.
- Returns
- A reference to this TrimKit.
TrimKit& HPS::TrimKit::UnsetShape | ( | ) |
Removes the trim elements defining a trim region.
- Returns
- A reference to this TrimKit.
The documentation for this class was generated from the following file:
- include/hps.h