cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
triangles bounding box
triangles bounding box
Dec 1, 2010 at 1:46am UTC
digipak
(1)
Hi,
I want to write a program that draws a triangle and puts a lable in the center of the triangle's surrounding box.
I have the 3 point of the triangle. I do not know how to get the surrounding box, since no side is parallel to the x or y axis.
Thanks for any help.
Last edited on
Dec 1, 2010 at 1:47am UTC
Dec 1, 2010 at 4:13am UTC
taylorc8
(40)
Maybe finding the slope of a side would help?
Topic archived. No new replies allowed.