DiagramLite Programmer's Guide
Convert.CartesianToPolar Method
See Also
 





Converts Cartesian coordinates to the corresponding polar coordinates, using the specified point as a center of the coordinate system.

Namespace: MindFusion.Geometry2D
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static void CartesianToPolar (
    Point coordCenter,
    Point point,
    ref double a,
    ref double r
)

Visual Basic  Copy Code

Public Shared Sub CartesianToPolar( _
    coordCenter As Point, _
    point As Point, _
    ByRef a As Double, _
    ByRef r As Double _
)

 Parameters

coordCenter

A Point specifying the center of the Cartesian coordinate system.

point

A Point specifying the Cartesian point to transform.

a

Receives the angle of the specified point, in the polar coordinate space.

r

Receives the radius of the specified point, in the polar coordinate space.

 See Also

Convert Members
Convert Class
MindFusion.Geometry2D Namespace