C# Class MIConvexHull.FaceConnector

A helper class used to connect faces.
Mostra file Open project: gusmanb/MIConvexHull Class Usage Examples

Public Properties

Property Type Description
EdgeIndex int
Face ConvexFaceInternal
HashCode uint
Next FaceConnector
Previous FaceConnector
Vertices int[]

Public Methods

Method Description
AreConnectable ( FaceConnector a, FaceConnector b, int dim ) : bool

Can two faces be connected.

Connect ( FaceConnector a, FaceConnector b ) : void

Connect two faces.

FaceConnector ( int dimension ) : System.Collections.Generic

Ctor.

Update ( ConvexFaceInternal face, int edgeIndex, int dim ) : void

Updates the connector.

Method Details

AreConnectable() public static method

Can two faces be connected.
public static AreConnectable ( FaceConnector a, FaceConnector b, int dim ) : bool
a FaceConnector
b FaceConnector
dim int
return bool

Connect() public static method

Connect two faces.
public static Connect ( FaceConnector a, FaceConnector b ) : void
a FaceConnector
b FaceConnector
return void

FaceConnector() public method

Ctor.
public FaceConnector ( int dimension ) : System.Collections.Generic
dimension int
return System.Collections.Generic

Update() public method

Updates the connector.
public Update ( ConvexFaceInternal face, int edgeIndex, int dim ) : void
face ConvexFaceInternal
edgeIndex int
dim int
return void

Property Details

EdgeIndex public_oe property

The edge to be connected.
public int EdgeIndex
return int

Face public_oe property

The face.
public ConvexFaceInternal,MIConvexHull Face
return ConvexFaceInternal

HashCode public_oe property

The hash code computed from indices.
public uint HashCode
return uint

Next public_oe property

Next node in the list.
public FaceConnector,MIConvexHull Next
return FaceConnector

Previous public_oe property

Prev node in the list.
public FaceConnector,MIConvexHull Previous
return FaceConnector

Vertices public_oe property

The vertex indices.
public int[] Vertices
return int[]