Click or drag to resize

G3DCartesicCoordinateSystemFindCorrespondingAxisSideWhenChangingCoordinateSystem Method

Finds the corresponding new axis side when changing the coordinate system.

Namespace: Altaxo.Graph.Graph3D.CS
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static CSAxisSide? FindCorrespondingAxisSideWhenChangingCoordinateSystem(
	G3DCartesicCoordinateSystem oldCoordinateSystem,
	CSLineID oldLineID,
	CSAxisSide oldAxisSide,
	G3DCartesicCoordinateSystem newCoordinateSystem,
	CSLineID newLineID
)

Parameters

oldCoordinateSystem  G3DCartesicCoordinateSystem
The old coordinate system system.
oldLineID  CSLineID
The old line identifier of the axis.
oldAxisSide  CSAxisSide
The old axis side.
newCoordinateSystem  G3DCartesicCoordinateSystem
The new coordinate system.
newLineID  CSLineID
The new line identifier of the axis (in the new coordinate system).

Return Value

NullableCSAxisSide
The new axis side. The new axis side as vector in the new coordinate system has the same direction as the old axis side vector in the old coordinate system. The return value is null if no axis side with the same direction could be found (this is the case for instance when exchanging x and y axis).
See Also