Calculating the segment area of a circle

The formula to calculate the segment area of a circle:

given radius -> radius of circle
given angle -> angle spanned by circle segment

unusedSegmentAngle = PI * 2 - angle;
segmentArea =
    (radius ^ 2)
  * (PI - 0.5 * (unusedSegmentAngle - Sin(unusedSegmentAngle)))

You may also like...

Popular Posts