# Diédrico System: Distance from a point to a line

We can define the distance from a point P to a line r as the smallest of the distances from the point P to the infinite points on the line r. To determine this distance must obtain the line perpendicular to the line r from the point P and get their point of intersection I. The distance d from P to R is the minimum distance from this point to the line r.

This problem can have two different approaches to determining the solution sought.