Method GetTriangles
GetTriangles(IExplicitShape<int>, bool, bool)
Gets a list of triangle indices for the given shape.
public override IEnumerable<int> GetTriangles(IExplicitShape<int> shape, bool doubleSided, bool flip)Parameters
- shapeIExplicitShape<int>
- The shape for which vertices should be returned. 
- doubleSidedbool
- Whether the returned triangles should be double sided. 
- flipbool
- Whether the returned triangles should be flipped. 
Returns
Remarks
implement
Override this method to support 1D grids.
GetTriangles(IExplicitShape<GridPoint2>, bool, bool)
Gets a list of triangle indices for the given shape.
public override IEnumerable<int> GetTriangles(IExplicitShape<GridPoint2> shape, bool doubleSided, bool flip)Parameters
- shapeIExplicitShape<GridPoint2>
- The shape for which vertices should be returned. 
- doubleSidedbool
- Whether the returned triangles should be double sided. 
- flipbool
- Whether the returned triangles should be flipped. 
Returns
Remarks
implement
Override this method to support 1D grids.
GetTriangles(IExplicitShape<GridPoint3>, bool, bool)
Gets a list of triangle indices for the given shape.
public override IEnumerable<int> GetTriangles(IExplicitShape<GridPoint3> shape, bool doubleSided, bool flip)Parameters
- shapeIExplicitShape<GridPoint3>
- The shape for which vertices should be returned. 
- doubleSidedbool
- Whether the returned triangles should be double sided. 
- flipbool
- Whether the returned triangles should be flipped. 
Returns
Remarks
implement
Override this method to support 1D grids.