|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunc.cdva.utils.TaggedObject
unc.cdva.problems.ProblemTriangle
public class ProblemTriangle
Right Triangle Problem.
Constructor Summary | |
---|---|
ProblemTriangle(javax.vecmath.Vector3f ret,
javax.vecmath.Vector3f gun,
Id id)
Constructs a triangle bean. |
Method Summary | |
---|---|
Object3D |
getDrawable()
Returns a drawable object that is meant to be drawn when the problem is created. |
float |
getGunRange()
|
java.lang.String[] |
getProblemLabels()
Used to retrieve labels that the problem would like to show the user. |
float |
getSolutionRange()
|
ProblemType |
getType()
Returns the problem type. |
void |
setInputValues(long[] value)
Used to pass user parameters into the problem |
Methods inherited from class unc.cdva.utils.TaggedObject |
---|
createId, equals, getId, hashCode, setId, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface unc.cdva.utils.Taggable |
---|
getId |
Constructor Detail |
---|
public ProblemTriangle(javax.vecmath.Vector3f ret, javax.vecmath.Vector3f gun, Id id)
ret
- Reticle location.gun
- Gun location.Method Detail |
---|
public float getGunRange()
getGunRange
in interface Problem
Problem.getGunRange()
public void setInputValues(long[] value)
Problem
setInputValues
in interface Problem
value
- An array of values, the ordering and meaning
of the values is dependant upon the exact problem type.Problem.setInputValues(long[])
public ProblemType getType()
Problem
getType
in interface Problem
Problem.getType()
public java.lang.String[] getProblemLabels()
Problem
getProblemLabels
in interface Problem
Problem.getProblemLabels()
public Object3D getDrawable()
Problem
getDrawable
in interface Problem
Problem.getDrawable()
public float getSolutionRange()
getSolutionRange
in interface Problem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |