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