Click or drag to resize

G2DCoordinateSystemGetNormalizedDirection(Logical3D, Logical3D, Double, Logical3D, PointD2D) Method

Converts logical coordinates along an isoline to layer coordinates and returns the direction of the isoline at this point.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual PointD2D GetNormalizedDirection(
	Logical3D r0,
	Logical3D r1,
	double t,
	Logical3D direction,
	out PointD2D normalizeddirection
)

Parameters

r0  Logical3D
Logical starting point of the isoline.
r1  Logical3D
Logical end point of the isoline.
t  Double
Parameter between 0 and 1 that determines the point on the isoline. A value of 0 denotes the starting point of the isoline, a value of 1 the end point. The logical coordinates are linear interpolated between starting point and end point.
direction  Logical3D
Logical direction vector.
normalizeddirection  PointD2D
Returns the normalized direction vector,i.e. a vector of norm 1, that goes in the logical direction provided by the previous argument.

Return Value

PointD2D
The location (in layer coordinates) of the isoline point.
See Also