Computes a coordinate transformation.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public static void TransformCoordinates( List<Circle> circles, CoordinateSystem actualCS, CoordinateSystem newCS ) |
Visual Basic (Declaration) |
---|
Public Shared Sub TransformCoordinates ( _ circles As List(Of Circle), _ actualCS As CoordinateSystem, _ newCS As CoordinateSystem _ ) |
Visual C++ |
---|
public: static void TransformCoordinates( List<Circle^>^ circles, CoordinateSystem^ actualCS, CoordinateSystem^ newCS ) |
Parameters
- circles
- Type: System.Collections.Generic..::.List<(Of <(Circle>)>)
A generic list of circles.
- actualCS
- Type: ceometric.VectorGeometry..::.CoordinateSystem
The actual (orthonormal) CoordinateSystem.
- newCS
- Type: ceometric.VectorGeometry..::.CoordinateSystem
The new (orthonormal) CoordinateSystem.
Remarks
The transformation must be orthonormal because otherwise the circles would be transformed into ellipses.
This method directly modifies the entries of the list for performance reasons.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The coordinate transformation is not orthonormal. |