G2DCoordinateSystemGetNormalizedDirection(Logical3D, Logical3D, Double, Double, PointD2D) Method |
Converts logical coordinates along an isoline to layer coordinates and returns the direction of the isoline at this point.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public PointD2D GetNormalizedDirection(
Logical3D r0,
Logical3D r1,
double t,
double angle,
out PointD2D normalizeddirection
)
Parameters
- r0 Logical3D
- Logical coordinates of starting point of the isoline.
- r1 Logical3D
- Logical coordinates of 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.
- angle Double
- Angle between direction of the isoline and returned normalized direction vector.
- normalizeddirection PointD2D
- Returns the normalized direction vector,i.e. a vector of norm 1, that
has the angle angle to the tangent of the isoline.
Return Value
PointD2DThe location (in layer coordinates) of the isoline point.
See Also