Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.mapelement
Interface PointFusionValidator
-
public interface PointFusionValidator
This interface describes an object that is able to compare two points and reply if they should be assumed as the same point.This validator is used by the building algorithms of
MapComposedElement
to remove unecessary points from the shapes.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSame(double x1, double y1, double x2, double y2)
Replies if the two given points are the same according to this validator.
-
-
-
Method Detail
-
isSame
@Pure boolean isSame(double x1, double y1, double x2, double y2)
Replies if the two given points are the same according to this validator.- Parameters:
x1
- is the x of the first point.y1
- is the y of the first point.x2
- is the x of the second point.y2
- is the y of the second point.- Returns:
true
if the two points are equal; otherwisefalse
-
-