Click or drag to resize

PolylineMath3DGetPolylinePointsWithWestAndNorth(IEnumerablePointD3D, VectorD3D, VectorD3D, VectorD3D) Method

Amends a polyline, given by its polyline points, with an west and a north vector for each polyline point.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IEnumerable<PolylinePointD3D> GetPolylinePointsWithWestAndNorth(
	IEnumerable<PointD3D> linePoints,
	VectorD3D startWestVector,
	VectorD3D startNorthVector,
	VectorD3D startForwardVector
)

Parameters

linePoints  IEnumerablePointD3D
The line points.
startWestVector  VectorD3D
The start west vector. Has to be normalized. This is not checked!
startNorthVector  VectorD3D
The start north vector. Has to be normalized. This is not checked!
startForwardVector  VectorD3D
The start forward vector (direction in which the line is advancing). Has to be normalized. This is not checked!

Return Value

IEnumerablePolylinePointD3D
The polyline points, amended with west and north vector (Item1: polyline point, Item2: west vector, Item3: north vector). The number of points may be smaller than the original number of points, because empty line segments are not returned. The west and north vectors are valid for the segment going from the previous point to the current point (thus for the first and the second point the returned west and north vectors are equal).
See Also