Class CEdgesFacesContainPoints
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.agent.Constraint<AEdge>
-
- eu.europa.ec.eurostat.jgiscotools.regionsimplify.CEdgesFacesContainPoints
-
- All Implemented Interfaces:
Comparable<Constraint<?>>
public class CEdgesFacesContainPoints extends Constraint<AEdge>
Ensures that the faces on both sides of the edge (if any) contain some specified points.- Author:
- julien Gaffuri
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
Constraint.ConstraintPriorityComparator<R extends Agent>, Constraint.ConstraintSatisfactionComparator<R extends Agent>
-
-
Field Summary
-
Fields inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
COMPARATOR_CONSTR, COMPARATOR_CONSTR_BY_SATISFACTION, satisfaction
-
-
Constructor Summary
Constructors Constructor Description CEdgesFacesContainPoints(AEdge agent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeSatisfaction()
boolean
isHard()
-
Methods inherited from class eu.europa.ec.eurostat.jgiscotools.agent.Constraint
clear, compareTo, computeCurrentValue, computeGoalValue, computeInitialValue, getAgent, getImportance, getMessage, getPriority, getSatisfaction, getTransformations, isSatisfied, setImportance, setPriority
-
-
-
-
Constructor Detail
-
CEdgesFacesContainPoints
public CEdgesFacesContainPoints(AEdge agent)
-
-
Method Detail
-
computeSatisfaction
public void computeSatisfaction()
- Specified by:
computeSatisfaction
in classConstraint<AEdge>
-
isHard
public boolean isHard()
- Overrides:
isHard
in classConstraint<AEdge>
-
-