Class Sector

Calculation of the properties of sectors


Description

The class Sector calculates properties of sections or segments of a circle.


Properties

The following properties can be queried as a result or passed as an argument.

Symbols

Description

Cyrcle
d Diameter
r Radius
Sector
\(α\) Sector angle
s Length of the chord
Th Triangle height
Ch Segment height
Area
A Total circle area
As Sektor area
Ac Segment area
At Triangle area
Perimeter
P Circle perimeter
Pc Segment perimeter
Pt Triangle perimeter
Ps Sector perimeter
Pa Arc length

Syntax

Object = Sector ("arg names", arguments)

Value = Sector ("get -> arg names", arguments)


Example

Calculation of the properties with the radius \(r \) and the angle \(α \).


Calculation of the sector area \(As \) with the radius \(r \) and the angle \(α \).


The following example displays the sector area \(As \) from the object \(a \).