NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::ConvergentFacet Class Reference

Represents a facet from convergent topology. More...

Inheritance diagram for NXOpen::ConvergentFacet:
NXOpen::IFacet NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

Public Member Functions

void Destroy ()
 Deletes a convergent facet object. More...
 
NXOpen::ConvergentFacetGetAdjacentFacet (int edgeIndex)
 Returns adjacent facet of a facet that abuts along edge of given edge index. More...
 
void GetPlaneEquation (NXOpen::Vector3d *planeNormal, double *dCoefficient)
 Returns coefficients of plane equation of a convergent facet. More...
 
NXOpen::Vector3d GetUnitNormal ()
 Returns unit normal vector of convergent facet. More...
 
std::vector< NXOpen::Vector3dGetVertexNormals ()
 Returns unit vertex normals of convergent facet. More...
 
std::vector< NXOpen::Point3dGetVertices ()
 Returns all three vertices of convergent facet in an array of points. More...
 
bool IsValid ()
 Returns whether or not the convergent facet is a valid facet. More...
 
NXOpen::FaceOwningFace ()
 Returns the owning face of convergent facet. More...
 
void SetVertex0 (const NXOpen::Point3d &point)
 Sets. More...
 
void SetVertex1 (const NXOpen::Point3d &point)
 Sets. More...
 
void SetVertex2 (const NXOpen::Point3d &point)
 Sets. More...
 
void SetVertices (const std::vector< NXOpen::Point3d > &points)
 Sets the coordinates of all the three vertices of a convergent facet to new values. More...
 
NXOpen::Point3d Vertex0 ()
 Returns. More...
 
NXOpen::Point3d Vertex1 ()
 Returns. More...
 
NXOpen::Point3d Vertex2 ()
 Returns. More...
 
- Public Member Functions inherited from NXOpen::IFacet
int FacetIdentifier ()
 Returns the indentifier of facet in its owning entity
Created in NX12.0.0. More...
 
- Public Member Functions inherited from NXOpen::NXObject
NXOpen::AttributeIteratorCreateAttributeIterator ()
 Create an attribute iterator. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type)
 Deletes all attributes of a specific type. More...
 
void DeleteAllAttributesByType (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes all attributes of a specific type with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title)
 Deletes an attribute by type and title. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const NXString &title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteAttributeByTypeAndTitle (NXOpen::NXObject::AttributeType type, const char *title, NXOpen::Update::Option option)
 Deletes an attribute by type and title with the option to update or not. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const NXString &title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttribute (NXOpen::NXObject::AttributeType type, const char *title, bool deleteEntireArray, NXOpen::Update::Option option)
 Deletes the first attribute encountered with the given Type, Title. More...
 
void DeleteUserAttributes (NXOpen::AttributeIterator *iterator, NXOpen::Update::Option option)
 Deletes the attributes on the object, if any, that satisfy the given iterator
Created in NX8.0.0. More...
 
void DeleteUserAttributes (NXOpen::NXObject::AttributeType type, NXOpen::Update::Option option)
 Deletes the attributes encountered with the given Type with option to update or not. More...
 
virtual NXOpen::INXObjectFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
virtual NXOpen::INXObjectFindObject (const char *journalIdentifier)
 Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetAttributeTitlesByType (NXOpen::NXObject::AttributeType type)
 Gets all the attribute titles of a specific type. More...
 
bool GetBooleanUserAttribute (const NXString &title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
bool GetBooleanUserAttribute (const char *title, int index)
 Gets a boolean attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::ComputationalTime GetComputationalTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
int GetIntegerAttribute (const NXString &title)
 Gets an integer attribute by title. More...
 
int GetIntegerAttribute (const char *title)
 Gets an integer attribute by title. More...
 
int GetIntegerUserAttribute (const NXString &title, int index)
 Gets an integer attribute by Title and array Index. More...
 
int GetIntegerUserAttribute (const char *title, int index)
 Gets an integer attribute by Title and array Index. More...
 
bool GetNextUserAttribute (NXOpen::AttributeIterator *iterator, NXOpen::NXObject::AttributeInformation *info)
 Gets the next attribute encountered on the object, if any, that satisfies the given iterator. More...
 
NXString GetPdmReferenceAttributeValue (const NXString &attributeTitle)
 Gets the value of PDM Reference attribute for given object. More...
 
NXString GetPdmReferenceAttributeValue (const char *attributeTitle)
 Gets the value of PDM Reference attribute for given object. More...
 
double GetRealAttribute (const NXString &title)
 Gets a real attribute by title. More...
 
double GetRealAttribute (const char *title)
 Gets a real attribute by title. More...
 
double GetRealUserAttribute (const NXString &title, int index)
 Gets a real attribute by Title and array Index. More...
 
double GetRealUserAttribute (const char *title, int index)
 Gets a real attribute by Title and array Index. More...
 
NXString GetReferenceAttribute (const NXString &title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetReferenceAttribute (const char *title)
 Gets the reference string (not the calculated value) of a string attribute that uses a reference string. More...
 
NXString GetStringAttribute (const NXString &title)
 Gets a string attribute value by title. More...
 
NXString GetStringAttribute (const char *title)
 Gets a string attribute value by title. More...
 
NXString GetStringUserAttribute (const NXString &title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetStringUserAttribute (const char *title, int index)
 Gets a string attribute by Title and array Index. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const NXString &title)
 Gets a time attribute by title. More...
 
NXString GetTimeAttribute (NXOpen::NXObject::DateAndTimeFormat format, const char *title)
 Gets a time attribute by title. More...
 
NXString GetTimeUserAttribute (const NXString &title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXString GetTimeUserAttribute (const char *title, int index)
 Gets a time attribute by Title and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
NXOpen::NXObject::AttributeInformation GetUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const NXString &title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttribute (const char *title, bool includeUnset, bool addStringValues, NXOpen::NXObject::AttributeType type)
 Gets the first attribute (or attribute array) encountered on the object, if any, with a given Title and Type. More...
 
NXString GetUserAttributeAsString (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
NXString GetUserAttributeAsString (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Gets the first attribute encountered on the object, if any, with a given title, type and array index. More...
 
int GetUserAttributeCount (NXOpen::AttributeIterator *iterator)
 Gets the count of set attributes on the object, if any, that satisfy the given iterator. More...
 
int GetUserAttributeCount (NXOpen::AttributeIterator *iterator, bool countArrayAsOneAttribute)
 Gets the count of set attributes on the object, if any, that satisfy the given iterator. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type)
 Gets the count of set attributes on the object, if any, of the given type. More...
 
int GetUserAttributeCount (NXOpen::NXObject::AttributeType type, bool includeUnset, bool countArrayAsOneAttribute)
 Gets the count of attributes on the object, if any, of the given type. More...
 
bool GetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
bool GetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type)
 Determine the lock of the given attribute. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (NXOpen::AttributeIterator *iterator)
 Gets all the attributes that have been set on the given object, if any, that satisfy the given iterator. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes ()
 Gets all the attributes that have been set on the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset)
 Gets all the attributes of the given object. More...
 
std::vector
< NXOpen::NXObject::AttributeInformation
GetUserAttributes (bool includeUnset, bool addStringValues)
 Gets all the attributes of the given object. More...
 
std::vector< NXStringGetUserAttributesAsStrings ()
 Gets all the attributes that have been set on the given object. More...
 
int GetUserAttributeSize (const NXString &title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
int GetUserAttributeSize (const char *title, NXOpen::NXObject::AttributeType type)
 Gets the size of the first attribute encountered on the object, if any, with a given Title and Type. More...
 
std::vector< NXOpen::NXObject * > GetUserAttributeSourceObjects ()
 Returns an array of objects from which this object presents attributes. More...
 
bool HasUserAttribute (NXOpen::AttributeIterator *iterator)
 Determines if an attribute exists on the object, that satisfies the given iterator. More...
 
bool HasUserAttribute (const NXString &title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
bool HasUserAttribute (const char *title, NXOpen::NXObject::AttributeType type, int index)
 Determines if an attribute with the given Title, Type and array Index is present on the object Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object. More...
 
virtual bool IsOccurrence ()
 Returns whether this object is an occurrence or not. More...
 
virtual NXString JournalIdentifier ()
 Returns the identifier that would be recorded in a journal for this object. More...
 
virtual NXString Name ()
 Returns the custom name of the object. More...
 
virtual
NXOpen::Assemblies::Component
OwningComponent ()
 Returns the owning component, if this object is an occurrence. More...
 
virtual NXOpen::BasePartOwningPart ()
 Returns the owning part of this object
Created in NX3.0.0. More...
 
virtual void Print ()
 Prints a representation of this object to the system log file. More...
 
virtual NXOpen::INXObjectPrototype ()
 Returns the prototype of this object if it is an occurrence. More...
 
void SetAttribute (const NXString &title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const char *title, int value)
 Creates or modifies an integer attribute. More...
 
void SetAttribute (const NXString &title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const char *title, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const char *title, double value)
 Creates or modifies a real attribute. More...
 
void SetAttribute (const NXString &title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const char *title, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const char *title, const char *value)
 Creates or modifies a string attribute. More...
 
void SetAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetAttribute (const NXString &title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const char *title)
 Creates or modifies a null attribute which is an attribute with a title and no value. More...
 
void SetAttribute (const NXString &title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetAttribute (const char *title, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const NXString &title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
void SetBooleanUserAttribute (const char *title, int index, bool value, NXOpen::Update::Option option)
 Creates or modifies a boolean attribute with the option to update or not. More...
 
virtual void SetName (const NXString &name)
 Sets the custom name of the object. More...
 
virtual void SetName (const char *name)
 Sets the custom name of the object. More...
 
void SetPdmReferenceAttribute (const NXString &attributeTitle, const NXString &attributeValue)
 Sets the value of PDM Reference attribute on the object. More...
 
void SetPdmReferenceAttribute (const char *attributeTitle, const char *attributeValue)
 Sets the value of PDM Reference attribute on the object. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const char *title, const char *value)
 Creates or modifies a string attribute which uses a reference string. More...
 
void SetReferenceAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetReferenceAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute which uses a reference string, with the option to update or not. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const char *title, const char *value)
 Creates or modifies a time attribute. More...
 
void SetTimeAttribute (const NXString &title, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeAttribute (const char *title, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const NXString &title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetTimeUserAttribute (const char *title, int index, const NXOpen::NXObject::ComputationalTime &value, NXOpen::Update::Option option)
 Creates or modifies a time attribute with the option to update or not. More...
 
void SetUserAttribute (const NXOpen::NXObject::AttributeInformation &info, NXOpen::Update::Option option)
 Creates or modifies an attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, int value, NXOpen::Update::Option option)
 Creates or modifies an integer attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, double value, NXOpen::Update::Option option)
 Creates or modifies a real attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, const NXString &value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, const char *value, NXOpen::Update::Option option)
 Creates or modifies a string attribute with the option to update or not. More...
 
void SetUserAttribute (const NXString &title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttribute (const char *title, int index, NXOpen::Update::Option option)
 Creates or modifies a null attribute with the option to update or not. More...
 
void SetUserAttributeLock (const NXString &title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
void SetUserAttributeLock (const char *title, NXOpen::NXObject::AttributeType type, bool lock)
 Lock or unlock the given attribute. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen::NXObject
enum  AttributeType {
  AttributeTypeInvalid, AttributeTypeNull, AttributeTypeBoolean, AttributeTypeInteger,
  AttributeTypeReal, AttributeTypeString, AttributeTypeTime, AttributeTypeReference,
  AttributeTypeAny = 100
}
 Specifies attribute type. More...
 
enum  DateAndTimeFormat { DateAndTimeFormatNumeric, DateAndTimeFormatTextual }
 Specifies the format of the date and time attribute. More...
 

Detailed Description

Represents a facet from convergent topology.

Instances of this class can be created using methods on NXOpen::Body and NXOpen::Face
Created in NX11.0.2.

Member Function Documentation

void NXOpen::ConvergentFacet::Destroy ( )

Deletes a convergent facet object.

Please note that this method does not geometrically delete a facet from its surface mesh leaving a hole. It only deletes the tagged object created to represent the individual facet. If you are dealing with a large number of facets in your application, use this method to delete the facet when you are finished working with it.
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

NXOpen::ConvergentFacet* NXOpen::ConvergentFacet::GetAdjacentFacet ( int  edgeIndex)

Returns adjacent facet of a facet that abuts along edge of given edge index.

If edge of given edgeIndex is on boundary of the face, then a NULL is returned.

Returns
The adjacent facet along edge of input index
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")
Parameters
edgeIndexthe index of edge at which adjacent facet is to find. It can be 0, 1 or 2. Error is returned for invalid value of edge index.
void NXOpen::ConvergentFacet::GetPlaneEquation ( NXOpen::Vector3d planeNormal,
double *  dCoefficient 
)

Returns coefficients of plane equation of a convergent facet.

The equation is of the form Ax + By +Cz + D = 0. Three values contained in parameter planeNormal represent A, B and C coefficients of the equation. dCoefficient represents D coefficient of the equation.
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

Parameters
planeNormalThe plane unit normal for the facet. The (X, Y, Z) of this vector provide the A, B and C coefficients respectively of the plane equation.
dCoefficientprovides the D coefficient in the plane equation.
NXOpen::Vector3d NXOpen::ConvergentFacet::GetUnitNormal ( )

Returns unit normal vector of convergent facet.

The unit normal of a facet depends on vertex ordering within facet and generally is in the direction of face normal. For a solid convergent body, the facet unit normal points away from the material if underlying surface is attached to the face in positive sense and vice versa.

Returns
The unit normal vector
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")
std::vector<NXOpen::Vector3d> NXOpen::ConvergentFacet::GetVertexNormals ( )

Returns unit vertex normals of convergent facet.

Returns
The array of three vectors containing unit vertex normals at each facet vertex.
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")
std::vector<NXOpen::Point3d> NXOpen::ConvergentFacet::GetVertices ( )

Returns all three vertices of convergent facet in an array of points.

Returns
The point array of three elements representing vertices of a convergent facet.
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")
bool NXOpen::ConvergentFacet::IsValid ( )

Returns whether or not the convergent facet is a valid facet.

A facet becomes invalid when the underlying surface undergoes an update such that the given facet is no longer present in its surface.
Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

NXOpen::Face* NXOpen::ConvergentFacet::OwningFace ( )

Returns the owning face of convergent facet.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

void NXOpen::ConvergentFacet::SetVertex0 ( const NXOpen::Point3d point)

Sets.

the coordinates of the vertex with index equal to zero.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

Parameters
pointvertex of zeroth index
void NXOpen::ConvergentFacet::SetVertex1 ( const NXOpen::Point3d point)

Sets.

the coordinates of the vertex with index equal to one.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

Parameters
pointvertex of first index
void NXOpen::ConvergentFacet::SetVertex2 ( const NXOpen::Point3d point)

Sets.

the coordinates of the vertex with index equal to two.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

Parameters
pointvertex of second index
void NXOpen::ConvergentFacet::SetVertices ( const std::vector< NXOpen::Point3d > &  points)

Sets the coordinates of all the three vertices of a convergent facet to new values.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

Parameters
pointspoints
NXOpen::Point3d NXOpen::ConvergentFacet::Vertex0 ( )

Returns.

the coordinates of the vertex with index equal to zero.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

NXOpen::Point3d NXOpen::ConvergentFacet::Vertex1 ( )

Returns.

the coordinates of the vertex with index equal to one.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")

NXOpen::Point3d NXOpen::ConvergentFacet::Vertex2 ( )

Returns.

the coordinates of the vertex with index equal to two.


Please note that the set method repositions the facet vertices only if the vertex meets the following requirements:

  1. The vertex does not lie on a boundary edge of the convergent body.
  2. The vertex belongs to a dumb body feature without any dependent feature that modifies the body.


This method should be followed by a subsequent call to NXOpen::Update::DoUpdate . If your application sets multiple vertices of a face, then NXOpen::Update::DoUpdate should be called only once after setting all the vertices to new coordinates.
If any of the vertices of this facet lie on a boundary edge, then an exception with error code 4186254 is raised. If this facet belongs to a body feature that has dependent features and not just a dumb body feature, then an exception with error code 4186253 is raised.


Created in NX11.0.2.

License requirements : gateway ("UG GATEWAY")


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.