Class ELVector
java.lang.Object
|
+--AbstractELExpression
|
+--ELVector
- All Implemented Interfaces:
- java.lang.Cloneable, ELExpression
- public class ELVector
- extends AbstractELExpression
- implements ELExpression
A 3 vector.
ELVector := ELScalar x ELScalar x ELScalar
Field Summary |
(package private) float |
blu
|
(package private) float |
grn
|
(package private) float |
red
|
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
red
float red
grn
float grn
blu
float blu
ELVector
public ELVector()
ELVector
public ELVector(double r,
double g,
double b)
geneticClone
public ELExpression geneticClone(ELCall parent,
GeneticParameters gp)
- Description copied from interface:
ELExpression
- Clones, possibly mutating. The operators will be shared between
clones but no ELExpressions will be shared.
- Specified by:
geneticClone
in interface ELExpression
- Following copied from interface:
ELExpression
- Parameters:
parent
- Parent expression from previous generation. don't
point at or mutate this; it is provided so you can get access to
siblings. May be null if there is no parent (i.e. top-level
expression).
clone
public java.lang.Object clone()
- Specified by:
clone
in interface ELExpression
- Overrides:
clone
in class AbstractELExpression
unparse
public java.lang.String unparse()
- Description copied from interface:
ELExpression
- Generates an EL language source string sufficient to uniquely
identify this expression.
- Specified by:
unparse
in interface ELExpression
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
evaluate
public void evaluate(ELMatrix out,
ELEnvironment environment)
- Description copied from interface:
ELExpression
- Evaluates this expression.
- Specified by:
evaluate
in interface ELExpression