C# Class R3.Geometry.Mesh

Exibir arquivo Open project: roice3/Honeycombs Class Usage Examples

Public Methods

Method Description
BuildIndexes ( Vector3D &verts, Vector3D &normals, List &faces ) : void
Clone ( ) : Mesh
MakeEdgeMesh ( int p, int q ) : Mesh

Make an edge mesh of a regular tiling.

Mesh ( ) : System.Collections.Generic
Rotate ( double angle ) : void
Scale ( double scale ) : void

Scale our mesh (useful for shapeways models)

Private Methods

Method Description
AddSymmetryTriangles ( Mesh mesh, Tiling tiling, Polygon boundary ) : void
Check ( Triangle tri, Polygon boundary ) : bool
CheckAndAdd ( Mesh mesh, Triangle tri, Polygon boundary ) : void
MeshEdges ( Mesh mesh, Tile tile, HashSet completed, Polygon boundary ) : void
Shrink ( Vector3D p, Vector3D centroid ) : Vector3D

Method Details

BuildIndexes() public method

public BuildIndexes ( Vector3D &verts, Vector3D &normals, List &faces ) : void
verts Vector3D
normals Vector3D
faces List
return void

Clone() public method

public Clone ( ) : Mesh
return Mesh

MakeEdgeMesh() public static method

Make an edge mesh of a regular tiling.
public static MakeEdgeMesh ( int p, int q ) : Mesh
p int
q int
return Mesh

Mesh() public method

public Mesh ( ) : System.Collections.Generic
return System.Collections.Generic

Rotate() public method

public Rotate ( double angle ) : void
angle double
return void

Scale() public method

Scale our mesh (useful for shapeways models)
public Scale ( double scale ) : void
scale double
return void