17 #include <geos/geom/Location.h>
18 #include <geos/geom/Position.h>
19 #include <geos/export.h>
95 int aDim = DIM_NOT_PART;
100 int bDim = DIM_NOT_PART;
101 bool bIsHole =
false;
107 std::string dimensionSymbol(
int dim)
const;
108 void locationString(
int index,
bool isForward, std::ostream& os)
const;
126 , aLocLeft(LOC_UNKNOWN)
127 , aLocRight(LOC_UNKNOWN)
128 , aLocLine(LOC_UNKNOWN)
131 , bLocLeft(LOC_UNKNOWN)
132 , bLocRight(LOC_UNKNOWN)
133 , bLocLine(LOC_UNKNOWN) {};
144 initBoundary(p_index, p_locLeft, p_locRight, p_isHole);
147 int dimension(
int index)
const {
return index == 0 ? aDim : bDim; };
148 void initBoundary(
int index,
Location locLeft,
Location locRight,
bool p_isHole);
149 void initCollapse(
int index,
bool p_isHole);
150 void initLine(
int index);
151 void initNotPart(
int index);
163 void setLocationAll(
int index,
Location loc);
164 void setLocationCollapse(
int index);
172 bool isLine(
int index)
const;
173 bool isLinear(
int index)
const;
174 bool isKnown(
int index)
const;
175 bool isNotPart(
int index)
const;
176 bool isBoundaryEither()
const;
177 bool isBoundaryBoth()
const;
193 bool isBoundary(
int index)
const;
194 bool isLineLocationUnknown(
int index)
const;
208 bool isHole(
int index)
const;
209 bool isCollapse(
int index)
const;
210 Location getLineLocation(
int index)
const;
252 Location getLocation(
int index,
int position,
bool isForward)
const;
253 bool hasSides(
int index)
const;
258 friend std::ostream& operator<<(std::ostream& os,
const OverlayLabel& ol);
259 void toString(
bool isForward, std::ostream& os)
const;
A Position indicates the position of a Location relative to a graph component (Node,...
Definition: Position.h:39
Definition: OverlayLabel.h:90
bool isBoundaryCollapse() const
bool isInteriorCollapse() const
Location getLocation(int index) const
void setLocationLine(int index, Location loc)
bool isCollapseAndNotPartInterior() const
Location getLocationBoundaryOrLine(int index, int position, bool isForward) const
bool isLineInterior(int index) const
bool isLineInArea(int index) const
bool isBoundaryTouch() const
bool isBoundarySingleton() const
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26