Class MeshTopologyBuilder
Builds a GraphTopology that represents a mesh, i.e. a series of faces that connect to each other along their edges.
Inheritance
MeshTopologyBuilder
Assembly: DeBroglie.dll
Syntax
public class MeshTopologyBuilder
Constructors
|
Edit this page
View Source
MeshTopologyBuilder(DirectionSet)
Declaration
public MeshTopologyBuilder(DirectionSet directions)
Parameters
Methods
|
Edit this page
View Source
Add(int, int, Direction)
Registers face1 and face2 as adjacent, moving in direction from face1 to face2.
If you call this, you will also need to call add with face1 and face2 swapped, to
establish the direction when travelling back.
Declaration
public void Add(int face1, int face2, Direction direction)
Parameters
|
Edit this page
View Source
Add(int, int, Direction, Direction)
Registers face1 and face2 as adjacent, moving in direction from face1 to face2 and inverseDirection from face2 to face1.
Declaration
public void Add(int face1, int face2, Direction direction, Direction inverseDirection)
Parameters
|
Edit this page
View Source
GetInfo()
Declaration
public GraphInfo GetInfo()
Returns
|
Edit this page
View Source
GetTopology()
Declaration
public GraphTopology GetTopology()
Returns