org.jdelaunay.delaunay.evaluator
Class TriangleQuality
java.lang.Object
org.jdelaunay.delaunay.evaluator.TriangleQuality
- All Implemented Interfaces:
- InsertionEvaluator
public class TriangleQuality
- extends Object
- implements InsertionEvaluator
Triangle quality evaluation. Better results than SkinnyEvaluator
- Author:
- Nicolas Fortin
- See Also:
- "Bank, Randolph E., PLTMG: A Software Package for Solving Elliptic Partial Differential Equations, User's Guide 6.0,
Society for Industrial and Applied Mathematics, Philadelphia, PA, 1990."
|
Method Summary |
boolean |
evaluate(DTriangle dTriangle)
Returns true if the circumcenter of dt must be inserted. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_QUALITY
public static final double DEFAULT_QUALITY
- See Also:
- Constant Field Values
TriangleQuality
public TriangleQuality()
- Default constructor
TriangleQuality
public TriangleQuality(double targetQuality)
- Constructor with defined quality
- Parameters:
targetQuality - Quality ratio
evaluate
public boolean evaluate(DTriangle dTriangle)
- Description copied from interface:
InsertionEvaluator
- Returns true if the circumcenter of dt must be inserted.
- Specified by:
evaluate in interface InsertionEvaluator
- Returns:
- true if the insertion is needed.
Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.