Plots a diffusively-lit, semi transparent, coloured plane through a unit-cell, inside a three dimensional window
LatticePlane/DRAW | lattice=Realarray normal=Realarray apoint=Realarray edge=Integer table=Colourtable [transparency=Integer] [eye=Realarray] [light=Realarray] | Plots a plane through a unit-cell, in a 3d window. |
LatticePlane/ALTER | [lattice=Realarray] [normal=Realarray] [apoint=Realarray] [edge=Integer] [table=Colourtable] [transparency=Integer] [eye=Realarray] [light=Realarray] object=Gobject | Alters a previously plotted plane. |
example:
#Plot a plane through a unit-cell >> lp=LatticePlane:draw(lattice,normal,apoint,4,table) #Alter the transparency of the plane >> LatticePlane/alter transparency=25 object=lp
Plots a diffusively-lit, semi transparent, coloured plane through a unit-cell, inside a 3d window. All (x,y,z) values are taken to be given in world coordinates. The z component of all lattice vertices should be negative.
lattice (Realarray)
(x,y,z) coordinates of the origin and the a, b, & c lattice vertices. The array should be allocated by DIMENSIONS(4,3).
normal (Realarray)
(x,y,z) direction of the normal to the plane.
apoint (Realarray)
(x,y,z) coordinate of a point within the plane.
edge (Integer)
If >=0 then the colour index for the boundary of the plane.
table (Colourtable)
The colour table to be used, see ColourTable for details.
transparency (Integer)
The level of transparency expressed as a percentage. By default this is zero.
eye (Realarray)
(x,y,z) coordinate of the eye position, see Win_ThreeD for details.
light (Realarray)
(x,y,z) direction of the flood-light, see Win_ThreeD for details.
RESULT = (Gobject)
Returns the properties of the newly created plane.
Alters a plane plotted inside a 3d window.
lattice (Realarray)
(x,y,z) coordinates of the origin and the a, b, & c lattice vertices. The array should be allocated by DIMENSIONS(4,3).
normal (Realarray)
(x,y,z) direction of the normal to the plane.
apoint (Realarray)
(x,y,z) coordinate of a point within the plane.
edge (Integer)
If >=0 then the colour index for the boundary of the plane.
table (Colourtable)
The colour table to be used, see ColourTable for details.
transparency (Integer)
The level of transparency expressed as a percentage.
eye (Realarray)
(x,y,z) coordinate of the eye position, see Win_ThreeD for details.
light (Realarray)
(x,y,z) direction of the flood-light, see Win_ThreeD for details.
object (Gobject)
The LatticePlane object to be altered.
RESULT = (Gobject)
Returns the properties of the altered plane.