de.grogra.vecmath.geom
public class Variables extends java.lang.Object
Variables
as argument. The sole requirement is that the size of the
int-stack is restored to its value before method invocation.| Modifier and Type | Field and Description |
|---|---|
java.util.HashMap<java.lang.Object,java.lang.Object> |
cache
This map may be used by methods which have an instance
of
Variables as parameter in order to store
some information which should be available in following
invocations of the method. |
int[] |
istack
This field contains an
int-stack. |
Line |
tmpLine
This line may be used freely.
|
Matrix3d |
tmpMatrix3
This matrix may be used freely.
|
Point3d |
tmpPoint0
This point may be used freely.
|
Point3d |
tmpPoint1
This point may be used freely.
|
Point3d |
tmpPoint2
This point may be used freely.
|
Point3d |
tmpPoint3
This point may be used freely.
|
Vector3d |
tmpVector0
This vector may be used freely.
|
Vector3d |
tmpVector1
This vector may be used freely.
|
Vector3d |
tmpVector2
This vector may be used freely.
|
Vector3d |
tmpVector3
This vector may be used freely.
|
| Constructor and Description |
|---|
Variables() |
| Modifier and Type | Method and Description |
|---|---|
int |
getISize() |
int |
ienter(int size)
This method increases the size of the
int-stack istack by size
and returns the previous size of the stack. |
int |
ipop()
This method pops the topmost element off the
int-stack istack and returns
its value. |
void |
ipush(int value)
|
void |
setISize(int isize)
|
public final java.util.HashMap<java.lang.Object,java.lang.Object> cache
Variables as parameter in order to store
some information which should be available in following
invocations of the method.public int[] istack
int-stack. Its size
is defined by isize.ipush(int)public final Line tmpLine
public final Matrix3d tmpMatrix3
public final Point3d tmpPoint0
public final Point3d tmpPoint1
public final Point3d tmpPoint2
public final Point3d tmpPoint3
public final Vector3d tmpVector0
public final Vector3d tmpVector1
public final Vector3d tmpVector2
public final Vector3d tmpVector3
public int getISize()
public int ienter(int size)
int-stack istack by size
and returns the previous size of the stack.size - size incrementgetISize()public int ipop()
int-stack istack and returns
its value.public void ipush(int value)
value - value to pushpublic void setISize(int isize)
isize - new size of stack