Hello all!
Could someone please explain what the difference is between a Graphics/
Graphics3D object and a GraphicsComplex object?
Both seem to produce graphics, and yet translating objects, in the
forms of Translate[object, {new coordinates}] only works with
GraphicsComplex.
Many thanks,
Gideon
|
|
0
|
|
|
|
Reply
|
gidienator (13)
|
1/13/2009 1:04:29 AM |
|
Hi Gidi,
Graphics is the head of 2D graphics, Graphics3D that of 3D graphics.
GraphicsComplex can be used inside 2 or 3D graphics to indicate points
by integers for simplicity.
Translate works for Graphics and Graphics3D as well, as the following
examples show:
Graphics[Translate[Circle[], {1, 1}], Axes -> True]
Graphics3D[Translate[Sphere[], {1, 1, 1}], Axes -> True]
hope this helps, Daniel
GidiL wrote:
> Hello all!
>
> Could someone please explain what the difference is between a Graphics/
> Graphics3D object and a GraphicsComplex object?
>
> Both seem to produce graphics, and yet translating objects, in the
> forms of Translate[object, {new coordinates}] only works with
> GraphicsComplex.
>
> Many thanks,
>
> Gideon
>
|
|
0
|
|
|
|
Reply
|
dh1 (452)
|
1/13/2009 12:03:55 PM
|
|