[comp.sys.amiga.tech] IFF format for 2D CAD

finkel@TAURUS.BITNET (05/15/88)

In article <10630003@hpesoc1.HP.COM> cunniff@hpesoc1.BITNET writes:
==>With all of the talk about a 2-d IFF drawing format, I thought

finkel@TAURUS.BITNET (05/17/88)

In article <737@taurus.BITNET> finkel@virgo.UUCP (Udi Finkelstein) writes:
>In article <10630003@hpesoc1.HP.COM> cunniff@hpesoc1.BITNET writes:

mp1u+@andrew.cmu.edu.UUCP (05/18/88)

Richard Sexton expresses the following question:

> >Having all four vertices allows the rectangle to be rotated by
> >an arbitrary angle.
>
> Huh ?

Imagine you have a rectangle defined by its top/left and bottom/right
corner points:

	    +------
	    |     |
	    ------+

You rotate an object by rotating its points:

		   /\
	          /  +
		 /  /
		+  /
		 \/

At this point it is pretty obvious to see that the two points that
previously defined the rectangle no longer suffice to define its
transformed version.  You must have an additional piece of
information, either in the form of the rotation angle (so you can
transform the line segments) or all of its corners (so you can draw
it like a polygon).

		    --M


Michael Portuesi / Carnegie Mellon University
ARPA/UUCP: mp1u+@andrew.cmu.edu		BITNET: rainwalker@drycas

"Memories are uncertain friends, when recalled by messages" -- OMD, "Messages"