Click or drag to resize

CoordinateTransformConvertToLocalSystem Method (Coordinate, Vector, IListCoordinate, ListCoordinate)

Convert a list of coordinates to the local coordinate system.

Namespace:  DHI.Mike1D.Generic.Spatial
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static void ConvertToLocalSystem(
	Coordinate origin,
	Vector xAxisUnitVector,
	IList<Coordinate> coords,
	out List<Coordinate> localCoords
)

Parameters

origin
Type: DHI.Mike1D.Generic.Spatial.GeometryCoordinate
Origin of local coordinate system
xAxisUnitVector
Type: DHI.Mike1D.Generic.Spatial.GeometryVector
X-axis vector of local coordinate system
coords
Type: System.Collections.GenericIListCoordinate
global coordinate to convert
localCoords
Type: System.Collections.GenericListCoordinate
new local coordinates
See Also