I'm not sure I understand the question... but, if you're dealing with a "perfect" hexagon (I believe you mean one with equal sides and equal angles (120 degrees)), then I think the simplest way to describe that hexagon in 2-d space would be with four values (
xc,
yc,
ls, θ):
- xc is the x-coordinate of the center of the hexagon
- yc is the y-coordinate of the center of the hexagon
- ls is the length of a side of the hexagon
- θ is the angle (measured from the x-axis) of the tilt of the hexagon
A tilt of 0 degrees would mean the hexagon looks like:
_
/ \
\_/
where a tilt of 90 degrees would mean the hexagon looks like:
/\
||
\/
_____________________________________________________
Jeff
japhy Pinyan,
P.L., P.M., P.O.D, X.S.:
Perl,
regex,
and
perl
hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart