The formula to calculate the segment area of a circle:

# Category: Math

## Perpendicular (nearest) distance from a point to a line in 2D

Calculating the perpendicular distance from a point to a line in 2D is useful, when you want to find out what the nearest (i.e. closest or shortest) distance is from that point, to the line. Here is the formula: