|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdelaunay.delaunay.evaluator.SkinnyEvaluator
public class SkinnyEvaluator
Evaluator used to determine if a triangle is skinny (ie if it has an angle inferior to a given value) or not.
| Field Summary | |
|---|---|
static double |
MAX_VALUE
The maximum valule that can be used in a skinny evaluator. |
| Constructor Summary | |
|---|---|
SkinnyEvaluator(double minAngle)
Instanciate a new SkinnyEvaluator, with the given threshold angle value, in degrees. |
|
| Method Summary | |
|---|---|
boolean |
evaluate(DTriangle dt)
Returns true if the circumcenter of dt must be inserted. |
double |
getMinAngle()
Get the angle that is used to determine if triangles are skinny or not. |
void |
setMinAngle(double minAngle)
Set the minimum angle that will be used to determine if triangles are skinny, for this evaluator, or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double MAX_VALUE
| Constructor Detail |
|---|
public SkinnyEvaluator(double minAngle)
minAngle -
IllegalArgumentException - if minAngle is greater than 32° or inferior to 0°| Method Detail |
|---|
public final double getMinAngle()
public final void setMinAngle(double minAngle)
minAngle - The new limit, in degrees.
IllegalArgumentException - if minAngle is greater than 32° or inferior to 0°public final boolean evaluate(DTriangle dt)
InsertionEvaluator
evaluate in interface InsertionEvaluator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||