|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GMLValidationEventHandler
The class TODO add class documentation here.
Method Summary | |
---|---|
boolean |
curveDiscontinuity(Curve curve,
int segmentIdx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a discontinuity in a Curve is detected, i.e. the end point of segment does not coincide with
the start point of the next. |
boolean |
curvePointDuplication(Curve curve,
Point point,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a sequence of two identical control points in a Curve is detected. |
boolean |
curveSelfIntersection(Curve curve,
Point location,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a self-intersection of a Curve is detected. |
boolean |
exteriorRingCW(PolygonPatch patch,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has an exterior ring with a wrong orientation, i.e. |
void |
geometryParsingError(GMLElementIdentifier geometryElement,
Exception e)
|
boolean |
interiorRingCCW(PolygonPatch patch,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has an interior ring with a wrong orientation, i.e. |
boolean |
interiorRingIntersectsExterior(PolygonPatch patch,
int ringIdx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has a hole (interior ring) that intersects it's shell
(exterior ring). |
boolean |
interiorRingOutsideExterior(PolygonPatch patch,
int ringIdx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has a hole (interior ring) that is completely located
outside it's shell (exterior ring). |
boolean |
interiorRingsIntersect(PolygonPatch patch,
int ring1Idx,
int ring2Idx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has two holes (interior rings) that intersect. |
boolean |
interiorRingsTouch(PolygonPatch patch,
int ring1Idx,
int ring2Idx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has two holes (interior rings) that touch. |
boolean |
interiorRingsWithin(PolygonPatch patch,
int ring1Idx,
int ring2Idx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has two holes (interior rings) that are nested, i.e. |
boolean |
interiorRingTouchesExterior(PolygonPatch patch,
int ringIdx,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a planar surface patch (= PolygonPatch ) has a hole (interior ring) that touches it's shell
(exterior ring). |
boolean |
ringNotClosed(Ring ring,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a Ring is detected that is not closed. |
boolean |
ringSelfIntersection(Ring ring,
Point location,
List<Object> affectedGeometryParticles,
List<GMLElementIdentifier> affectedElements)
Called when a self-intersection of a Ring is detected. |
Method Detail |
---|
void geometryParsingError(GMLElementIdentifier geometryElement, Exception e)
boolean curvePointDuplication(Curve curve, Point point, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
Curve
is detected.
curve
- invalid Curve
geometrypoint
- the duplicated pointaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean curveDiscontinuity(Curve curve, int segmentIdx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
Curve
is detected, i.e. the end point of segment does not coincide with
the start point of the next.
curve
- invalid Curve
geometrysegmentIdx
- the index of the segment with the discontinuityaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean curveSelfIntersection(Curve curve, Point location, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
Curve
is detected.
curve
- invalid Curve
geometrylocation
- the (approximative) location of the self-intersectionaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean ringNotClosed(Ring ring, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
Ring
is detected that is not closed.
ring
- invalid Ring
geometryaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean ringSelfIntersection(Ring ring, Point location, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
Ring
is detected.
ring
- invalid Ring
geometrylocation
- the (approximative) location of the self-intersectionaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean exteriorRingCW(PolygonPatch patch, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has an exterior ring with a wrong orientation, i.e.
patch
- affectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingCCW(PolygonPatch patch, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has an interior ring with a wrong orientation, i.e.
patch
- affectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingsTouch(PolygonPatch patch, int ring1Idx, int ring2Idx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has two holes (interior rings) that touch.
patch
- offending patchring1Idx
- index of the first ring involvedring2Idx
- index of the second ring involvedaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingsIntersect(PolygonPatch patch, int ring1Idx, int ring2Idx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has two holes (interior rings) that intersect.
patch
- offending patchring1Idx
- index of the first ring involvedring2Idx
- index of the second ring involvedaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingsWithin(PolygonPatch patch, int ring1Idx, int ring2Idx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has two holes (interior rings) that are nested, i.e.
one ring is completely inside the other.
patch
- offending patchring1Idx
- index of the first ring involved (the 'outer' one)ring2Idx
- index of the second ring involved (the 'inner' one)affectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingTouchesExterior(PolygonPatch patch, int ringIdx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has a hole (interior ring) that touches it's shell
(exterior ring).
patch
- offending patchringIdx
- index of the offending inner ringaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingIntersectsExterior(PolygonPatch patch, int ringIdx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has a hole (interior ring) that intersects it's shell
(exterior ring).
patch
- offending patchringIdx
- index of the offending inner ringaffectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
boolean interiorRingOutsideExterior(PolygonPatch patch, int ringIdx, List<Object> affectedGeometryParticles, List<GMLElementIdentifier> affectedElements)
PolygonPatch
) has a hole (interior ring) that is completely located
outside it's shell (exterior ring).
patch
- offending patchringIdx
- affectedGeometryParticles
- list of affected geometry components (that the curve is a part of)affectedElements
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |