Method PreTranslate
PreTranslate<TPoint>(IMap<Vector3, TPoint>, Vector3)
Creates a map that translate before applying the given map.
public static IMap<Vector3, TPoint> PreTranslate<TPoint>(this IMap<Vector3, TPoint> map, Vector3 offset)
Parameters
map
IMap<Vector3, TPoint>Base map used in the operations.
offset
Vector3Offset to translate the map.
Returns
Type Parameters
TPoint
Type of the point