Class MeshTopology
Extract topological information about the mesh based on identifying
semantic edges/vertices/etc
WIP
Namespace: gs
Assembly: cs.temp.dll.dll
Syntax
public class MeshTopology
Constructors
MeshTopology(DMesh3)
Declaration
public MeshTopology(DMesh3 mesh)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|
Fields
AllEdges
Declaration
public HashSet<int> AllEdges
Field Value
Type |
Description |
HashSet<Int32> |
|
AllVertices
Declaration
public HashSet<int> AllVertices
Field Value
Type |
Description |
HashSet<Int32> |
|
BoundaryEdges
Declaration
public HashSet<int> BoundaryEdges
Field Value
Type |
Description |
HashSet<Int32> |
|
CreaseEdges
Declaration
public HashSet<int> CreaseEdges
Field Value
Type |
Description |
HashSet<Int32> |
|
IgnoreTimestamp
Declaration
public bool IgnoreTimestamp
Field Value
JunctionVertices
Declaration
public HashSet<int> JunctionVertices
Field Value
Type |
Description |
HashSet<Int32> |
|
Loops
Declaration
Field Value
Type |
Description |
EdgeLoop[] |
|
Mesh
Declaration
Field Value
Spans
Declaration
Field Value
Type |
Description |
EdgeSpan[] |
|
Properties
CreaseAngle
Declaration
public double CreaseAngle { get; set; }
Property Value
Methods
AddRemeshConstraints(MeshConstraints)
add topological edges/vertices as constraints for remeshing
Declaration
public void AddRemeshConstraints(MeshConstraints constraints)
Parameters
Type |
Name |
Description |
MeshConstraints |
constraints |
|
Compute()
Compute the topology elements
Declaration
MakeElementsMesh(Polygon2d, Polygon2d)
Declaration
public DMesh3 MakeElementsMesh(Polygon2d spanProfile, Polygon2d loopProfile)
Parameters
Type |
Name |
Description |
Polygon2d |
spanProfile |
|
Polygon2d |
loopProfile |
|
Returns