Loading [MathJax]/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
9 #include <geos/geom/GeometryFactory.h>
10 #include <geos/geom/MultiPolygon.h>
11 #include <geos/geom/CoordinateSequence.h>
47 class UniversalGroundMap;
51 static geos::geom::GeometryFactory::Ptr
globalFactory = geos::geom::GeometryFactory::create();
127 const geos::geom::MultiPolygon &lonLatPoly,
TProjection *proj);
130 const geos::geom::MultiPolygon &xYPoly,
TProjection *proj);
136 static geos::geom::MultiPolygon *
CopyMultiPolygon(
const geos::geom::MultiPolygon *mpolygon);
137 static geos::geom::MultiPolygon *
CopyMultiPolygon(
const geos::geom::MultiPolygon &mpolygon);
139 static geos::geom::MultiPolygon *
Despike(
const geos::geom::Geometry *geom);
140 static geos::geom::MultiPolygon *
Despike(
const geos::geom::MultiPolygon *multiPoly);
141 static geos::geom::LinearRing *
Despike(
const geos::geom::LineString *linearRing);
144 static geos::geom::MultiPolygon *
To180(geos::geom::MultiPolygon *poly360);
147 static QString
ToGML(
const geos::geom::MultiPolygon *mpolygon,
148 QString idString = QString(
"0"),
149 QString schema = QString(
""));
155 static double Thickness(
const geos::geom::MultiPolygon *mpolygon);
157 static geos::geom::Geometry *
Intersect(
const geos::geom::Geometry *geom1,
158 const geos::geom::Geometry *geom2);
159 static geos::geom::Geometry *
Difference(
const geos::geom::Geometry *geom1,
160 const geos::geom::Geometry *geom2);
162 static geos::geom::MultiPolygon *
MakeMultiPolygon(
const geos::geom::Geometry *geom);
166 static bool Equal(
const geos::geom::MultiPolygon *poly1,
167 const geos::geom::MultiPolygon *poly2);
168 static bool Equal(
const geos::geom::Polygon *poly1,
const geos::geom::Polygon *poly2);
169 static bool Equal(
const geos::geom::LineString *lineString1,
170 const geos::geom::LineString *lineString2);
171 static bool Equal(
const geos::geom::Coordinate &coord1,
const geos::geom::Coordinate &coord2);
172 static bool Equal(
const double d1,
const double d2);
174 static geos::geom::MultiPolygon *
FixSeam(
const geos::geom::MultiPolygon *poly);
175 static geos::geom::MultiPolygon *
FixSeam(
const geos::geom::Polygon *polyA,
176 const geos::geom::Polygon *polyB);
178 static geos::geom::Geometry *
ReducePrecision(
const geos::geom::Geometry *geom,
179 unsigned int precision);
180 static geos::geom::MultiPolygon *
ReducePrecision(
const geos::geom::MultiPolygon *poly,
181 unsigned int precision);
182 static geos::geom::Polygon *
ReducePrecision(
const geos::geom::Polygon *poly,
183 unsigned int precision);
184 static geos::geom::LinearRing *
ReducePrecision(
const geos::geom::LinearRing *ring,
185 unsigned int precision);
186 static geos::geom::Coordinate *
ReducePrecision(
const geos::geom::Coordinate *coord,
187 unsigned int precision);
190 static geos::geom::MultiPolygon *
FixPolePolygon(
const geos::geom::MultiPolygon *polePolygon,
192 static geos::geom::MultiPolygon *
SplitPolygonOn360(
const geos::geom::Polygon *inPoly);
197 static bool IsSpiked(geos::geom::Coordinate first,
198 geos::geom::Coordinate middle, geos::geom::Coordinate last);
200 static bool TestSpiked(geos::geom::Coordinate first, geos::geom::Coordinate middle,
201 geos::geom::Coordinate last);
203 static geos::geom::Geometry *FixGeometry(
const geos::geom::Geometry *geom);
204 static geos::geom::MultiPolygon *FixGeometry(
const geos::geom::MultiPolygon *poly);
205 static geos::geom::Polygon *FixGeometry(
const geos::geom::Polygon *poly);
206 static geos::geom::LinearRing *FixGeometry(
const geos::geom::LinearRing *ring);
208 static geos::geom::Geometry *Operate(
const geos::geom::Geometry *geom1,
209 const geos::geom::Geometry *geom2,
unsigned int opcode);
211 static int DecimalPlace(
double);
213 geos::geom::MultiPolygon *p_polygons;
Universal Ground Map.
Definition: UniversalGroundMap.h:69
double Sample() const
Returns the current line value of the camera model or projection.
Definition: UniversalGroundMap.cpp:200
virtual double Longitude() const
This returns a longitude with correct longitude direction and domain as specified in the label object...
Definition: TProjection.cpp:823
static geos::geom::GeometryFactory::Ptr globalFactory
Definition: PolygonTools.h:51
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:375
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
virtual double Latitude() const
This returns a latitude with correct latitude type as specified in the label object.
Definition: TProjection.cpp:811
Base class for Map TProjections.
Definition: TProjection.h:166
Isis exception class.
Definition: IException.h:91
virtual bool SetWorld(const double x, const double y)
This method is used to set a world coordinate.
Definition: Projection.cpp:497
virtual bool SetGround(const double lat, const double lon)
This method is used to set the latitude/longitude (assumed to be of the correct LatitudeType,...
Definition: TProjection.cpp:760
Namespace for the standard library.
bool SetUniversalGround(double lat, double lon)
Returns whether the lat/lon position was set successfully in the camera model or projection.
Definition: UniversalGroundMap.cpp:102
Adds specific functionality to C++ strings.
Definition: IString.h:165
double YCoord() const
This returns the projection Y provided SetGround, SetCoordinate, SetUniversalGround,...
Definition: Projection.cpp:400
double Line() const
Returns the current line value of the camera model or projection.
Definition: UniversalGroundMap.cpp:214
double XCoord() const
This returns the projection X provided SetGround, SetCoordinate, SetUniversalGround,...
Definition: Projection.cpp:387
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16