public class SkinnyEvaluator extends Object implements InsertionEvaluator
| Modifier and Type | Field and Description |
|---|---|
static double |
MAX_VALUE
The maximum valule that can be used in a skinny evaluator.
|
| Constructor and Description |
|---|
SkinnyEvaluator(double minAngle)
Instanciate a new SkinnyEvaluator, with the given threshold angle value,
in degrees.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final double MAX_VALUE
public SkinnyEvaluator(double minAngle)
minAngle - IllegalArgumentException - if minAngle is greater than 32° or inferior to 0°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)
InsertionEvaluatorevaluate in interface InsertionEvaluatorCopyright © 2013 IRSTV CNRS-FR-2488. All Rights Reserved.