isInteriorAreaEdge method
This is an interior Area edge if
- its label is an Area label for both Geometries
- and for each Geometry both sides are in the interior.
@return true if this is an interior Area edge
Implementation
bool isInteriorAreaEdge() {
bool isInteriorAreaEdge = true;
for (int i = 0; i < 2; i++) {
if (!(label!.isAreaWithIndex(i) &&
label!.getLocationWithPosIndex(i, Position.LEFT) ==
Location.INTERIOR &&
label!.getLocationWithPosIndex(i, Position.RIGHT) ==
Location.INTERIOR)) {
isInteriorAreaEdge = false;
}
}
return isInteriorAreaEdge;
}