|
NX Open C++ 参考指南 2406 v1.1
|
细分网格体拓扑数据 更多...
#include <SubdivisionMeshBodyTopologyData.hxx>
Public 成员函数 | |
| void | AddFace (const std::vector< int > &vertexIds) |
| std::vector< NXOpen::SubdivisionMeshFaceTopologyData * > | GetFaces () |
| std::vector< NXOpen::SubdivisionMeshEdgeTopologyData * > | GetSharpEdges () |
| std::vector< NXOpen::Point3d > | GetVertexPositions () |
| std::vector< NXOpen::SubdivisionMeshEdgeTopologyData * > | GetWeightedEdges () |
| void | ReserveFaces (int numFaces) |
| void | SetSharp (int vertex1Id, int vertex2Id) |
| void | SetVertexPositions (const std::vector< NXOpen::Point3d > &vertices) |
| void | SetWeight (int vertex1Id, int vertex2Id, int weight) |
| virtual | ~SubdivisionMeshBodyTopologyData () |
| Public 成员函数 继承自 NXOpen::TransientObject | |
| void * | GetHandle () |
细分网格体拓扑数据
Represents a subdivision mesh body topological connectivity data.
Created in NX2406.0.0.
|
virtual |
Frees the memory associated with this object. After invocation of this method, the object is no longer valid.
Created in NX2406.0.0.
License requirements : None
| void NXOpen::SubdivisionMeshBodyTopologyData::AddFace | ( | const std::vector< int > & | vertexIds | ) |
Adds a face represented by its vertex ids
Created in NX2406.0.0.
License requirements : None
| vertexIds | vertexids |
| std::vector< NXOpen::SubdivisionMeshFaceTopologyData * > NXOpen::SubdivisionMeshBodyTopologyData::GetFaces | ( | ) |
Returns faces
| std::vector< NXOpen::SubdivisionMeshEdgeTopologyData * > NXOpen::SubdivisionMeshBodyTopologyData::GetSharpEdges | ( | ) |
Returns sharp edges
| std::vector< NXOpen::Point3d > NXOpen::SubdivisionMeshBodyTopologyData::GetVertexPositions | ( | ) |
Returns vertex positions. The index of output array indicates id of the vertex.
| std::vector< NXOpen::SubdivisionMeshEdgeTopologyData * > NXOpen::SubdivisionMeshBodyTopologyData::GetWeightedEdges | ( | ) |
Returns weighted edges
| void NXOpen::SubdivisionMeshBodyTopologyData::ReserveFaces | ( | int | numFaces | ) |
Reserves memory for faces. In case of large number of faces, reserve memory before adding faces.
Created in NX2406.0.0.
License requirements : None
| numFaces | numfaces |
| void NXOpen::SubdivisionMeshBodyTopologyData::SetSharp | ( | int | vertex1Id, |
| int | vertex2Id ) |
Sets edge represented by its vertex ids as sharp
Created in NX2406.0.0.
License requirements : None
| vertex1Id | vertex1id |
| vertex2Id | vertex2id |
| void NXOpen::SubdivisionMeshBodyTopologyData::SetVertexPositions | ( | const std::vector< NXOpen::Point3d > & | vertices | ) |
Sets vertex positions. The index of input array idicates the id of the vertex.
Created in NX2406.0.0.
License requirements : None
| vertices | vertices |
| void NXOpen::SubdivisionMeshBodyTopologyData::SetWeight | ( | int | vertex1Id, |
| int | vertex2Id, | ||
| int | weight ) |
Sets weight of an edge represented by its vertex ids
Created in NX2406.0.0.
License requirements : None
| vertex1Id | vertex1id |
| vertex2Id | vertex2id |
| weight | Ranges from 0 to 100 |