circleAngle()

Synopsis

Returns the angle in degrees between the X axis and the line between circle center and a given point . Also see circlePoint().

Syntax

circleAngle ( cir As Part, _
              p As Point ) As Number 
Argument Type Description
cir Part A circle
p Point point for which angle is sought

Example 1

The circle part for the example
Child Circle_1 As :Arc
    center = Point(0,0,0)
    diameter = 5.0
End Child
Intent >circlePoint(Circle_1, 45)
--> Point_(1.76776695296637, 1.76776695296637, 0.0, WorldFrame())
Intent >circleAngle(Circle_1, Point(1.76776695296637, 1.76776695296637, 0.0)
-->45.0