Class MeshTopology
Topology exporer for meshes. Contains all methods to explore mesh connections between members.
Inheritance
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class MeshTopology : object
Constructors
| Improve this Doc View SourceMeshTopology(Mesh)
Initializes a new instance of the MeshTopology class.
Declaration
public MeshTopology(Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | Mesh to construct topology connections from. |
Properties
| Improve this Doc View SourceEdgeEdge
Gets edge-Edge topological connections.
Declaration
public Dictionary<int, List<int>> EdgeEdge { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
EdgeFace
Gets edge-Face topological connections.
Declaration
public Dictionary<int, List<int>> EdgeFace { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
EdgeVertex
Gets edge-Vertex topological connections.
Declaration
public Dictionary<int, List<int>> EdgeVertex { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
FaceEdge
Gets face-Edge topological connections.
Declaration
public Dictionary<int, List<int>> FaceEdge { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
FaceFace
Gets face-Face topological connections.
Declaration
public Dictionary<int, List<int>> FaceFace { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
FaceVertex
Gets face-Vertex topological connections.
Declaration
public Dictionary<int, List<int>> FaceVertex { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
VertexEdges
Gets vertex-Edge topological connections.
Declaration
public Dictionary<int, List<int>> VertexEdges { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
VertexFaces
Gets vertex-Face topological connections.
Declaration
public Dictionary<int, List<int>> VertexFaces { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
VertexVertex
Gets vertex-Vertex topological connections.
Declaration
public Dictionary<int, List<int>> VertexVertex { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Int32, List<System.Int32>> |
Methods
| Improve this Doc View SourceComputeEdgeAdjacency()
Computes edge adjacency for the whole mesh and stores it in the appropriate dictionaries.
Declaration
public void ComputeEdgeAdjacency()
ComputeFaceAdjacency()
Computes face adjacency for the whole mesh and stores it in the appropriate dictionaries.
Declaration
public void ComputeFaceAdjacency()
ComputeVertexAdjacency()
Computes vertex adjacency for the whole mesh and stores it in the appropriate dictionaries.
Declaration
public void ComputeVertexAdjacency()
TopologyDictToString(Dictionary<Int32, List<Int32>>)
Gets the string representation of a given topology dictionary.
Declaration
public string TopologyDictToString(Dictionary<int, List<int>> dict)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.Int32, List<System.Int32>> | dict | Dictionary to convert. |
Returns
Type | Description |
---|---|
System.String |