Math::Circle
This is the Math::Circle class.
Represents a circle.
Initializer
$circle = Circle($r: Num, $h: Num, $k: Num)
Creates a circle given radius and center coordinates.
Initializer
$circle = Circle($r: Num, $center: Point)
Creates a circle given radius and center.
Arguments

r: Num  Radius.

center: Point  Center.
Initializer
$circle = Circle($area: Num)
Creates a circle at the origin given area.
Arguments
 area: Num  Area.
Methods
r
$circle.r
Property. Radius length.
h
$circle.h
Property. Center xcoordinate.
k
$circle.k
Property. Center ycoordinate.
center
$circle.center
Oncecomputed property. Center point.
r2
$circle.r2
Oncecomputed property. Squared radius length.
area
$circle.area
Computed property. Area.
d
$circle.d
Computed property. Diameter length.
c
$circle.c
Computed property. Circumference.
diameter
$circle.diameter
Computed property. Diameter length. Same as d
.
circumference
$circle.circumference
Computed property. Circumference. Same as c
.
formula
$circle.formula
Computed property. Formula in centerradius notation.
hasPoint
$circle.hasPoint($pt: Point)
Tests whether a point is on the circle.
Arguments

pt: Point
isTangent
$circle.isTangent($line: Line)
Tests whether a line is tangent to the circle.
Arguments

line: Line
isChord
$circle.isChord($seg: Segment)
Tests whether a line segment is a chord of the circle.
Arguments

seg: Segment
Equality operator (==)
$circle == ($ehs: Circle)
Equality of two circles.
Class properties
unit
Circle.unit
Unit circle.
End of the Math::Circle class.
This file was generated automatically by the Ferret compiler from Circle.frt.