Click or drag to resize

G3DCoordinateSystemGetPositionAndNormalizedDirection Method

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

Namespace: Altaxo.Graph.Graph3D
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual PointD3D GetPositionAndNormalizedDirection(
	Logical3D r0,
	Logical3D r1,
	double t,
	Logical3D direction,
	out VectorD3D 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  VectorD3D
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

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