MinDistance of a Recantgle

Hello. Im a beginner in 3D programming.
Where I can getting 3D algorthims?

I need to calculate the minimal distance froms a 3DPoint to a 3DRentagle.

Thanks in avance.

Magic software is always a good place to start

thank you very much

Originally posted by zeckensack:
Magic software is always a good place to start