Method GetNormals
GetNormals(IExplicitShape<int>, GridMap<int>, bool)
Gets the normals for the given shape.
public override IEnumerable<Vector3> GetNormals(IExplicitShape<int> shape, GridMap<int> map, bool flip)Parameters
- shapeIExplicitShape<int>
- The shape for which to return the normals of. 
- mapGridMap<int>
- flipbool
- Whether normals should be flipped or not. 
Returns
Remarks
implement
Override this method to support 1D grids.
GetNormals(IExplicitShape<GridPoint2>, GridMap<GridPoint2>, bool)
Gets the normals for the given shape.
public override IEnumerable<Vector3> GetNormals(IExplicitShape<GridPoint2> explicitShape, GridMap<GridPoint2> gridMap, bool flip)Parameters
- explicitShapeIExplicitShape<GridPoint2>
- gridMapGridMap<GridPoint2>
- The grid map to be used to calculate normals. 
- flipbool
- Whether normals should be flipped or not. 
Returns
Remarks
implement
Override this method to support 1D grids.
GetNormals(IExplicitShape<GridPoint3>, GridMap<GridPoint3>, bool)
Gets the normals for the given shape.
public override IEnumerable<Vector3> GetNormals(IExplicitShape<GridPoint3> explicitShape, GridMap<GridPoint3> gridMap, bool flip)Parameters
- explicitShapeIExplicitShape<GridPoint3>
- gridMapGridMap<GridPoint3>
- The grid map to be used to calculate normals. 
- flipbool
- Whether normals should be flipped or not. 
Returns
Remarks
implement
Override this method to support 1D grids.