NX Open C++ Reference Guide
|
Represents a collection of NXOpen::Plane . More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. More... | |
NXOpen::Plane * | CreateFixedPlane (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &matrix) |
Creates a Plane without parameters. More... | |
NXOpen::Plane * | CreateFixedPlane (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &matrix, bool show) |
Creates a Plane without parameters. More... | |
NXOpen::Plane * | CreateFixedTypePlane (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &matrix, NXOpen::SmartObject::UpdateOption updateOption) |
Creates a Plane , it is still a smart plane but has fixed plane type. More... | |
NXOpen::Plane * | CreatePlane (const NXOpen::Point3d &origin, const NXOpen::Vector3d &normal, NXOpen::SmartObject::UpdateOption updateOption) |
Creates a Plane without parameters. More... | |
NXOpen::Plane * | CreatePlane (NXOpen::Features::Feature *datum) |
Creates a Plane using a datum plane feature. More... | |
NXOpen::Plane * | CreatePlane (NXOpen::PlaneTypes::MethodType method, NXOpen::PlaneTypes::AlternateType alternate, const NXOpen::Point3d &origin, const NXOpen::Vector3d &normal, const NXString &expression, bool flip, bool percent, const std::vector< NXOpen::NXObject * > &geometry) |
Creates a Plane using a datum plane feature. More... | |
NXOpen::Plane * | CreatePlane (NXOpen::PlaneTypes::MethodType method, NXOpen::PlaneTypes::AlternateType alternate, const NXOpen::Point3d &origin, const NXOpen::Vector3d &normal, const char *expression, bool flip, bool percent, const std::vector< NXOpen::NXObject * > &geometry) |
Creates a Plane using a datum plane feature. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of NXOpen::Plane .
Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen::Plane is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed.
To obtain an instance of this class, refer to NXOpen::BasePart
Created in NX4.0.0.
iterator NXOpen::PlaneCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Plane* NXOpen::PlaneCollection::CreateFixedPlane | ( | const NXOpen::Point3d & | origin, |
const NXOpen::Matrix3x3 & | matrix | ||
) |
Creates a Plane without parameters.
origin | Plane Origin |
matrix | Plane Matrix |
NXOpen::Plane* NXOpen::PlaneCollection::CreateFixedPlane | ( | const NXOpen::Point3d & | origin, |
const NXOpen::Matrix3x3 & | matrix, | ||
bool | show | ||
) |
Creates a Plane without parameters.
Has an additional input flag to control if the plane is visible or not after creation.
origin | Plane Origin |
matrix | Plane Matrix |
show | Control whether to show the plane object |
NXOpen::Plane* NXOpen::PlaneCollection::CreateFixedTypePlane | ( | const NXOpen::Point3d & | origin, |
const NXOpen::Matrix3x3 & | matrix, | ||
NXOpen::SmartObject::UpdateOption | updateOption | ||
) |
Creates a Plane , it is still a smart plane but has fixed plane type.
origin | Plane Origin |
matrix | Plane Matrix |
updateOption | Smart Object update option |
NXOpen::Plane* NXOpen::PlaneCollection::CreatePlane | ( | const NXOpen::Point3d & | origin, |
const NXOpen::Vector3d & | normal, | ||
NXOpen::SmartObject::UpdateOption | updateOption | ||
) |
Creates a Plane without parameters.
origin | Plane Origin |
normal | Plane normal |
updateOption | Smart Object update option |
NXOpen::Plane* NXOpen::PlaneCollection::CreatePlane | ( | NXOpen::Features::Feature * | datum | ) |
Creates a Plane using a datum plane feature.
datum | Datum Feature |
NXOpen::Plane* NXOpen::PlaneCollection::CreatePlane | ( | NXOpen::PlaneTypes::MethodType | method, |
NXOpen::PlaneTypes::AlternateType | alternate, | ||
const NXOpen::Point3d & | origin, | ||
const NXOpen::Vector3d & | normal, | ||
const NXString & | expression, | ||
bool | flip, | ||
bool | percent, | ||
const std::vector< NXOpen::NXObject * > & | geometry | ||
) |
Creates a Plane using a datum plane feature.
method | method |
alternate | alternate |
origin | Plane Origin |
normal | Plane normal |
expression | offset value |
flip | flip direction |
percent | arclength or percent value |
geometry | geometry |
NXOpen::Plane* NXOpen::PlaneCollection::CreatePlane | ( | NXOpen::PlaneTypes::MethodType | method, |
NXOpen::PlaneTypes::AlternateType | alternate, | ||
const NXOpen::Point3d & | origin, | ||
const NXOpen::Vector3d & | normal, | ||
const char * | expression, | ||
bool | flip, | ||
bool | percent, | ||
const std::vector< NXOpen::NXObject * > & | geometry | ||
) |
Creates a Plane using a datum plane feature.
method | method |
alternate | alternate |
origin | Plane Origin |
normal | Plane normal |
expression | offset value |
flip | flip direction |
percent | arclength or percent value |
geometry | geometry |
iterator NXOpen::PlaneCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
tag_t NXOpen::PlaneCollection::Tag | ( | ) | const |
Returns the tag of this object.