Skip to content

A program that calculates the distance from a point to a segment in 2D space also the second part of the program calculates the distance from a point to a polygon.

Notifications You must be signed in to change notification settings

gsgol/Distance_from_point_to_segment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

A program that calculates the distance from a point to a segment in 2D space also the second part of the program calculates the distance from a point to a polygon.

The program uses this formula to calculate the distance:

image

When calculating the distance from a point to a polygon, program calculates distance to the all sides and then choses the minimum distance.

About

A program that calculates the distance from a point to a segment in 2D space also the second part of the program calculates the distance from a point to a polygon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published