Calculates the coordinates of the point on the circumference with center in DlxPoint.

syntaxSyntax:
DlxPoint.CirclePoint(radius, angle)

Parameters

Parameter Description
radius The value of the radius of the circumference.
angle The value of the arc angle in degrees.

Return Value

A DlxPoint object with the coordinates of the point.

Example

  Copy codeCopy code
var center = new DlxPoint(0, 0);
var p = center.CirclePoint(14.1, 45);
DlxApp.Printf("x=%.1f y=%.1f", p.x, p.y);

See also