Show / Hide Table of Contents

Class MeshTopologyBuilder

Builds a GraphTopology that represents a mesh, i.e. a series of faces that connect to each other along their edges.

Inheritance
object
MeshTopologyBuilder
Namespace: DeBroglie.Topo
Assembly: DeBroglie.dll
Syntax
public class MeshTopologyBuilder

Constructors

| Edit this page View Source

MeshTopologyBuilder(DirectionSet)

Declaration
public MeshTopologyBuilder(DirectionSet directions)
Parameters
Type Name Description
DirectionSet directions

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
Type Name Description
int face1
int face2
Direction direction
| 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
Type Name Description
int face1
int face2
Direction direction
Direction inverseDirection
| Edit this page View Source

GetInfo()

Declaration
public GraphInfo GetInfo()
Returns
Type Description
GraphInfo
| Edit this page View Source

GetTopology()

Declaration
public GraphTopology GetTopology()
Returns
Type Description
GraphTopology
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX