G3DCartesicCoordinateSystemFindCorrespondingCSLineIDWhenChangingCoordinateSystem Method |
When changing the properties of the coordinate systen (e.g. reversing x-axis), the axis including ticks and labels will move from one end of the graph to the other.
In order to keep the axes at their location, new
CSLineIDs have to be found for the new coordinate system, that correspond to the same axis location
in the old coordinate system. This function returns a new
CSLineID, or null if no corresponding
CSLineID could be found.
Namespace: Altaxo.Graph.Graph3D.CSAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static CSLineID? FindCorrespondingCSLineIDWhenChangingCoordinateSystem(
G3DCartesicCoordinateSystem oldCoordinateSystem,
CSLineID oldLineID,
G3DCartesicCoordinateSystem newCoordinateSystem
)
Parameters
- oldCoordinateSystem G3DCartesicCoordinateSystem
- The old coordinate system.
- oldLineID CSLineID
- The old line identifier of the axis.
- newCoordinateSystem G3DCartesicCoordinateSystem
- The new coordinate system.
Return Value
CSLineIDThe new line identifier, that refers to the same location in the new coordinate systems as the old line identifer referes in the old coordinate system. If no such
identifer could be found, null is returned.
See Also