Converts the ellipse into a Circle if the ellipse is circular.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Circle ToCircle()
Visual Basic (Declaration)
Public Function ToCircle As Circle
Visual C++
public:
Circle^ ToCircle()

Return Value

Returns the ellipse as a Circle if the ellipse is circular.

Remarks

Use the IsCircular -test before converting to avoid an exception!

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe ellipse is not circular.

See Also