Method GetVertices
GetVertices(IExplicitShape<int>, GridMap<int>)
Gets a list of vertices of a mesh for the given shape.
public override IEnumerable<Vector3> GetVertices(IExplicitShape<int> shape, GridMap<int> map)
Parameters
shape
IExplicitShape<int>The shape for which vertices should be returned.
map
GridMap<int>The map the mesh should be created with, so that centers of cells for a grid point match the world space position returned by the map.
Returns
Remarks
implement
Override this method to support 1D grids.
GetVertices(IExplicitShape<GridPoint2>, GridMap<GridPoint2>)
Gets a list of vertices of a mesh for the given shape.
public override IEnumerable<Vector3> GetVertices(IExplicitShape<GridPoint2> shape, GridMap<GridPoint2> map)
Parameters
shape
IExplicitShape<GridPoint2>The shape for which vertices should be returned.
map
GridMap<GridPoint2>The map the mesh should be created with, so that centers of cells for a grid point match the world space position returned by the map.
Returns
Remarks
implement
Override this method to support 1D grids.
GetVertices(IExplicitShape<GridPoint3>, GridMap<GridPoint3>)
Gets a list of vertices of a mesh for the given shape.
public override IEnumerable<Vector3> GetVertices(IExplicitShape<GridPoint3> shape, GridMap<GridPoint3> map)
Parameters
shape
IExplicitShape<GridPoint3>The shape for which vertices should be returned.
map
GridMap<GridPoint3>The map the mesh should be created with, so that centers of cells for a grid point match the world space position returned by the map.
Returns
Remarks
implement
Override this method to support 1D grids.