Method GetVertices
GetVertices(IExplicitShape<int>, GridMap<int>)
Gets a list of vertices of a mesh for the given shape.
public virtual IEnumerable<Vector3> GetVertices(IExplicitShape<int> shape, GridMap<int> map)Parameters
- shapeIExplicitShape<int>
- The shape for which vertices should be returned. 
- mapGridMap<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 virtual IEnumerable<Vector3> GetVertices(IExplicitShape<GridPoint2> shape, GridMap<GridPoint2> map)Parameters
- shapeIExplicitShape<GridPoint2>
- The shape for which vertices should be returned. 
- mapGridMap<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 virtual IEnumerable<Vector3> GetVertices(IExplicitShape<GridPoint3> shape, GridMap<GridPoint3> map)Parameters
- shapeIExplicitShape<GridPoint3>
- The shape for which vertices should be returned. 
- mapGridMap<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.