Click or drag to resize

AxisStyleCollectionUpdateCoordinateSystemKeepingAxisPositions Method

Updates the cached coordinate system while trying to keep the axis positions and tick positions.

Namespace: Altaxo.Graph.Graph3D.Axis
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void UpdateCoordinateSystemKeepingAxisPositions(
	G3DCoordinateSystem newSystem,
	Func<CSLineID, CSLineID> GetNewAxisLineIDFromOldAxisLineID,
	Func<CSLineID, CSAxisSide, CSLineID, CSAxisSide?> GetNewAxisSideFromOldAxisSide
)

Parameters

newSystem  G3DCoordinateSystem
The new coordinate system.
GetNewAxisLineIDFromOldAxisLineID  FuncCSLineID, CSLineID
Gets a new axis line identifier, using the old one as parameter.
GetNewAxisSideFromOldAxisSide  FuncCSLineID, CSAxisSide, CSLineID, NullableCSAxisSide
Gets the new axis side (for instance of ticks), using the old axis line id as parameter1, the old axis side as parameter2 and the new axis line id as parameter3. The return value is the new axis side. This function can return null, in this case no corresponding axis side has been found.
Exceptions
ExceptionCondition
ArgumentNullException
See Also