24-Ruby IV
April 4, 2018
Question
Distance between a point and a square, triangle etc
- April 4, 2018
- 2 replies
- 3555 views
I have a function for the calculation the distance between a point and a square.
See please the animation and the Mathcad sheet in attach.

My questions:
0. Do you know some references on this topic - an ellipse with not point-focuses but with circles etc?
1. Can the function Square be mote simple?
2. I need one more argument for the function Square - an angle alpha - the rotation of the square from 0 to 90 deg.
3. Help me to create the function Triangle (Rhombus, Rectangle, Ellipse, etc.) with same properties!
I need it for this... art

