molecular geometryyFactory是哪个包下面的

18500人阅读
空间数据模型
(1)、JTS Geometry model&
(2)、ISO Geometry model (Geometry Plugin and JTS Wrapper Plugin)
GeoTools has two implementations of these interfaces:
Geometry Plugin a port of JTS 1.7 to the ISO Geometry interfaces
JTS Wrapper Plugin an implementation that delegates all the work to JTS
系(linearref包)、计算交点(noding包)、几何图形操作(operation包)、平面图(planargraph包)、多边形化(polygnize包)、精度(precision)、工具(util包)
重点理解JTS Geometry model
(1) JTS提供了如下的空间数据类型
& & &Point & &&
& & &MultiPoint
& & &LineString & &&
& & &LinearRing &封闭的线条
& & &MultiLineString & &多条线
& & &Polygon
& & &MultiPolygon & & & &&
& & &GeometryCollection &包括点,线,面
(2)&支持接口
Coordinate
& &Coordinate(坐标)是用来存储坐标的轻便的类。它不同于点,点是Geometry的子类。不像模范Point的对象(包含额外的信息,例如一个信包,一个精确度模型和空间参考系统信息),Coordinate只包含纵座标值和存取方法。
Envelope(矩形)
& &一个具体的类,包含一个最大和最小的x 值和y 值。
GeometryFactory
& &GeometryFactory提供一系列的有效方法用来构造来自Coordinate类的Geometry对象。支持接口
package com.mapbar.geo.
import org.geotools.geometry.jts.JTSFactoryF
import com.vividsolutions.jts.geom.C
import com.vividsolutions.jts.geom.G
import com.vividsolutions.jts.geom.GeometryC
import com.vividsolutions.jts.geom.GeometryF
import com.vividsolutions.jts.geom.LineS
import com.vividsolutions.jts.geom.LinearR
import com.vividsolutions.jts.geom.P
import com.vividsolutions.jts.geom.P
import com.vividsolutions.jts.geom.MultiP
import com.vividsolutions.jts.geom.MultiLineS
import com.vividsolutions.jts.geom.MultiP
import com.vividsolutions.jts.io.ParseE
import com.vividsolutions.jts.io.WKTR
* Class GeometryDemo.java
* Description Geometry 几何实体的创建,读取操作
* Company mapbar
* author Chenll E-mail:
* Version 1.0
上午11:08:50
public class GeometryDemo {
private GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory( null );
* create a point
public Point createPoint(){
Coordinate coord = new Coordinate(109..715519);
Point point = geometryFactory.createPoint( coord );
* create a point by WKT
* @throws ParseException
public Point createPointByWKT() throws ParseException{
WKTReader reader = new WKTReader( geometryFactory );
Point point = (Point) reader.read(&POINT (109..715519)&);
* create multiPoint by wkt
public MultiPoint createMulPointByWKT()throws ParseException{
WKTReader reader = new WKTReader( geometryFactory );
MultiPoint mpoint = (MultiPoint) reader.read(&MULTIPOINT(109...678)&);
* create a line
public LineString createLine(){
Coordinate[] coords
= new Coordinate[] {new Coordinate(2, 2), new Coordinate(2, 2)};
LineString line = geometryFactory.createLineString(coords);
* create a line by WKT
* @throws ParseException
public LineString createLineByWKT() throws ParseException{
WKTReader reader = new WKTReader( geometryFactory );
LineString line = (LineString) reader.read(&LINESTRING(0 0, 2 0)&);
* create multiLine
public MultiLineString createMLine(){
Coordinate[] coords1
= new Coordinate[] {new Coordinate(2, 2), new Coordinate(2, 2)};
LineString line1 = geometryFactory.createLineString(coords1);
Coordinate[] coords2
= new Coordinate[] {new Coordinate(2, 2), new Coordinate(2, 2)};
LineString line2 = geometryFactory.createLineString(coords2);
LineString[] lineStrings = new LineString[2];
lineStrings[0]= line1;
lineStrings[1] = line2;
MultiLineString ms = geometryFactory.createMultiLineString(lineStrings);
* create multiLine by WKT
* @throws ParseException
public MultiLineString createMLineByWKT()throws ParseException{
WKTReader reader = new WKTReader( geometryFactory );
MultiLineString line = (MultiLineString) reader.read(&MULTILINESTRING((0 0, 2 0),(1 1,2 2))&);
* create a polygon(多边形) by WKT
* @throws ParseException
public Polygon createPolygonByWKT() throws ParseException{
WKTReader reader = new WKTReader( geometryFactory );
Polygon polygon = (Polygon) reader.read(&POLYGON((20 10, 30 0, 40 10, 30 20, 20 10))&);
* create multi polygon by wkt
* @throws ParseException
public MultiPolygon createMulPolygonByWKT() throws ParseException{
WKTReader reader = new WKTReader( geometryFactory );
MultiPolygon mpolygon = (MultiPolygon) reader.read(&MULTIPOLYGON(((40 10, 30 0, 40 10, 30 20, 40 10),(30 10, 30 0, 40 10, 30 20, 30 10)))&);
* create GeometryCollection
contain point or multiPoint or line or multiLine or polygon or multiPolygon
* @throws ParseException
public GeometryCollection createGeoCollect() throws ParseException{
LineString line = createLine();
Polygon poly =
createPolygonByWKT();
Geometry g1 = geometryFactory.createGeometry(line);
Geometry g2 = geometryFactory.createGeometry(poly);
Geometry[] garray = new Geometry[]{g1,g2};
GeometryCollection gc = geometryFactory.createGeometryCollection(garray);
* create a Circle
创建一个圆,圆心(x,y) 半径RADIUS
* @param x
* @param y
* @param RADIUS
public Polygon createCircle(double x, double y, final double RADIUS){
final int SIDES = 32;//圆上面的点个数
Coordinate coords[] = new Coordinate[SIDES+1];
for( int i = 0; i & SIDES; i++){
double angle = ((double) i / (double) SIDES) * Math.PI * 2.0;
double dx = Math.cos( angle ) * RADIUS;
double dy = Math.sin( angle ) * RADIUS;
coords[i] = new Coordinate( (double) x + dx, (double) y + dy );
coords[SIDES] = coords[0];
LinearRing ring = geometryFactory.createLinearRing( coords );
Polygon polygon = geometryFactory.createPolygon( ring, null );
* @param args
* @throws ParseException
public static void main(String[] args) throws ParseException {
GeometryDemo gt = new GeometryDemo();
Polygon p = gt.createCircle(0, 1, 2);
//圆上所有的坐标(32个)
Coordinate coords[] = p.getCoordinates();
for(Coordinate coord:coords){
System.out.println(coord.x+&,&+coord.y);
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:709413次
积分:9678
积分:9678
排名:第1853名
原创:281篇
评论:94条
(1)(1)(1)(1)(1)(3)(6)(1)(1)(2)(5)(2)(2)(4)(4)(1)(3)(5)(4)(3)(4)(4)(10)(4)(2)(5)(4)(7)(2)(5)(3)(8)(4)(4)(14)(7)(5)(5)(2)(2)(2)(4)(6)(4)(1)(1)(1)(15)(4)(3)(7)(6)(2)(3)(2)(5)(6)(3)(1)(2)(2)(3)(5)(12)(2)(8)(23)(1) 3.7.0dev
Supplies a set of utility methods for building
objects from
#include &&
* createPointFromInternalCoord (const
*coord, const
*exemplar) const
*  (const
*envelope) const
 Converts an
*  () const
 Returns the
that Geometries created by this factory will be associated with.
*  () const
 Creates an EMPTY .
*  (const
&coordinate) const
 Creates a
using the given .
*  ( *coordinates) const
 Creates a
taking ownership of the given .
*  (const
&coordinates) const
 Creates a
with a deep-copy of the given .
*  () const
 Construct an EMPTY .
*  () const
 Construct the EMPTY .
*  (std::vector&
* & *newGeoms) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &newGeoms) const
 Constructs a
with a deep-copy of args.
*  () const
 Construct an EMPTY .
*  (std::vector&
* & *newLines) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &fromLines) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Construct an EMPTY .
*  (std::vector&
* & *newPolys) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &fromPolys) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Construct an EMPTY .
*  ( *newCoords) const
 Construct a
taking ownership of given arguments.
std::auto_ptr&
& createLinearRing (std::auto_ptr&
& newCoords) const
*  (const
&coordinates) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Constructs an EMPTY .
*  (std::vector&
* & *newPoints) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &fromPoints) const
 Construct a
with a deep-copy of given arguments.
*  (const
&fromCoords) const
 Construct a
containing a
geometry for each
in the given list.
*  (const std::vector&
& &fromCoords) const
 Construct a
containing a
geometry for each
in the given vector.
*  () const
 Construct an EMPTY .
*  ( *shell, std::vector&
* & *holes) const
 Construct a
taking ownership of given arguments.
*  (const
&shell, const std::vector&
* & &holes) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Construct an EMPTY .
std::auto_ptr&
&  (const
&ls) const
 Copy a .
*  ( *coordinates) const
 Construct a
taking ownership of given argument.
std::auto_ptr&
& createLineString (std::auto_ptr&
& coordinates) const
*  (const
&coordinates) const
 Construct a
with a deep-copy of given argument.
*  (std::vector&
* & *geoms) const
template&class T &
std::auto_ptr&
&  (T from, T toofar) const
 See buildGeometry(std::vector&Geometry *&&) for semantics.
*  (const std::vector&
* & &geoms) const
 This function does the same thing of the omonimouse function taking vector pointer instead of reference.
int getSRID () const
*  () const
 Returns the
associated with this .
*  (const
 Returns a clone of given .
void  ( *g) const
 Destroy a , or release it.
void  ()
 Request that the instance is deleted.
static GeometryFactory::unique_ptr  ()
 Constructs a
that generates Geometries having a floating
and a spatial-reference ID of 0.
static GeometryFactory::unique_ptr  (const
*pm, int newSRID,
*nCoordinateSequenceFactory)
 Constructs a
that generates Geometries having the given , spatial-reference ID, and
implementation.
static GeometryFactory::unique_ptr  ( *nCoordinateSequenceFactory)
 Constructs a
that generates Geometries having the given
implementation, a double-precision floating
and a spatial-reference ID of 0.
static GeometryFactory::unique_ptr  (const
 Constructs a
that generates Geometries having the given
and the default
implementation.
static GeometryFactory::unique_ptr  (const
*pm, int newSRID)
 Constructs a
that generates Geometries having the given
and spatial-reference ID, and the default
implementation.
static GeometryFactory::unique_ptr  (const
 Copy constructor.
static const
*  ()
 Return a pointer to the default . This is a global shared object instantiated using default constructor.
 Constructs a
that generates Geometries having a floating
and a spatial-reference ID of 0.
  (const
*pm, int newSRID,
*nCoordinateSequenceFactory)
 Constructs a
that generates Geometries having the given , spatial-reference ID, and
implementation.
  ( *nCoordinateSequenceFactory)
 Constructs a
that generates Geometries having the given
implementation, a double-precision floating
and a spatial-reference ID of 0.
  (const
 Constructs a
that generates Geometries having the given
and the default
implementation.
  (const
*pm, int newSRID)
 Constructs a
that generates Geometries having the given
and spatial-reference ID, and the default
implementation.
  (const
 Copy constructor.
virtual  ()
 Destructor.
class Geometry
Supplies a set of utility methods for building
objects from
Note that the factory constructor methods do not change the input coordinates in any way. In particular, they are not rounded to the supplied . It is assumed that input Coordinates meet the given precision.
geos::geom::GeometryFactory::GeometryFactory
nCoordinateSequenceFactory 
Constructs a
that generates Geometries having the given , spatial-reference ID, and
implementation.
NOTES: (1) the given
is COPIED (2) the
is NOT COPIED and must be available for the whole lifetime of the
geos::geom::GeometryFactory::GeometryFactory
Constructs a
that generates Geometries having the given
and the default
implementation.
Parameters
geos::geom::GeometryFactory::GeometryFactory
newSRID 
Constructs a
that generates Geometries having the given
and spatial-reference ID, and the default
implementation.
Parameters
to use, will be copied internally
newSRIDthe SRID to use
geos::geom::GeometryFactory::GeometryFactory
Copy constructor.
Parameters
to clone from
* geos::geom::GeometryFactory::buildGeometry
std::vector&
* & * 
Build an appropriate , MultiGeometry, or
to contain the s in it.
For example:
If geomList contains a single , the
is returned.
If geomList contains several s, a
is returned.
If geomList contains some s and some s, a
is returned.
If geomList is empty, an empty
is returned
Note that this method does not "flatten" Geometries in the input, and hence if any MultiGeometries are contained in the input a
containing them will be returned.
Parameters
newGeomsthe s to combine
of the "smallest", "most type-specific" class that can contain the elements of geomList.
NOTE: the returned
will take ownership of the given vector AND its elements
template&class T &
std::auto_ptr&& geos::geom::GeometryFactory::buildGeometry
toofar 
See buildGeometry(std::vector&Geometry *&&) for semantics.
Will clone the geometries accessible trough the iterator.
Template Parameters
Tan iterator yelding something which casts to const Geometry*
Parameters
fromstart iterator
toofarend iterator
* geos::geom::GeometryFactory::buildGeometry
const std::vector&
* & & 
This function does the same thing of the omonimouse function taking vector pointer instead of reference.
The difference is that this version will copy needed data leaving ownership to the caller.
static GeometryFactory::unique_ptr geos::geom::GeometryFactory::create
nCoordinateSequenceFactory 
Constructs a
that generates Geometries having the given , spatial-reference ID, and
implementation.
NOTES: (1) the given
is COPIED (2) the
is NOT COPIED and must be available for the whole lifetime of the
static GeometryFactory::unique_ptr geos::geom::GeometryFactory::create
Constructs a
that generates Geometries having the given
and the default
implementation.
Parameters
static GeometryFactory::unique_ptr geos::geom::GeometryFactory::create
newSRID 
Constructs a
that generates Geometries having the given
and spatial-reference ID, and the default
implementation.
Parameters
to use, will be copied internally
newSRIDthe SRID to use
static GeometryFactory::unique_ptr geos::geom::GeometryFactory::create
Copy constructor.
Parameters
to clone from
void geos::geom::GeometryFactory::destroy
Request that the instance is deleted.
It will really be deleted only after last child
is deleted. Do not use the instance anymore after calling this function (unless you're a live child!).
* geos::geom::GeometryFactory::toGeometry
Converts an
can be a , a
or an EMPTY geom.
The documentation for this class was generated from the following file:[求助]com.sun.el.ExpressionFactoryImpl这个类是哪个包里的? - JSF - ITeye群组
哪位朋友可以告诉我com.sun.el.ExpressionFactoryImpl是哪个包里的吗?
el-ri-.jar
哪里有下载的呢 能否告诉我啊谢谢!
找到下载的地方了谢谢!Supplies a set of utility methods for building
objects from
#include &&
 Constructs a
that generates Geometries having a floating
and a spatial-reference ID of 0.
  (const
*pm, int newSRID,
*nCoordinateSequenceFactory)
 Constructs a
that generates Geometries having the given , spatial-reference ID, and
implementation.
  ( *nCoordinateSequenceFactory)
 Constructs a
that generates Geometries having the given
implementation, a double-precision floating
and a spatial-reference ID of 0.
  (const
 Constructs a
that generates Geometries having the given
and the default
implementation.
  (const
*pm, int newSRID)
 Constructs a
that generates Geometries having the given
and spatial-reference ID, and the default
implementation.
  (const
 Copy constructor.
virtual  ()
 Destructor.
*  (const
*coord, const
*exemplar) const
*  (const
*envelope) const
 Converts an
*  () const
 Returns the
that Geometries created by this factory will be associated with.
*  () const
 Creates an EMPTY .
*  (const
&coordinate) const
 Creates a
using the given .
*  ( *coordinates) const
 Creates a
taking ownership of the given .
*  (const
&coordinates) const
 Creates a
with a deep-copy of the given .
*  () const
 Construct an EMPTY .
*  () const
 Construct the EMPTY .
*  (std::vector&
* & *newGeoms) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &newGeoms) const
 Constructs a
with a deep-copy of args.
*  () const
 Construct an EMPTY .
*  (std::vector&
* & *newLines) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &fromLines) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Construct an EMPTY .
*  (std::vector&
* & *newPolys) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &fromPolys) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Construct an EMPTY .
*  ( *newCoords) const
 Construct a
taking ownership of given arguments.
std::auto_ptr&
&  (std::auto_ptr&
& newCoords) const
*  (const
&coordinates) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Constructs an EMPTY .
*  (std::vector&
* & *newPoints) const
 Construct a
taking ownership of given arguments.
*  (const std::vector&
* & &fromPoints) const
 Construct a
with a deep-copy of given arguments.
*  (const
&fromCoords) const
 Construct a
containing a
geometry for each
in the given list.
*  (const std::vector&
& &fromCoords) const
 Construct a
containing a
geometry for each
in the given vector.
*  () const
 Construct an EMPTY .
*  ( *shell, std::vector&
* & *holes) const
 Construct a
taking ownership of given arguments.
*  (const
&shell, const std::vector&
* & &holes) const
 Construct a
with a deep-copy of given arguments.
*  () const
 Construct an EMPTY .
std::auto_ptr&
&  (const
&ls) const
 Copy a .
*  ( *coordinates) const
 Construct a
taking ownership of given argument.
std::auto_ptr&
&  (std::auto_ptr&
& coordinates) const
*  (const
&coordinates) const
 Construct a
with a deep-copy of given argument.
*  (std::vector&
* & *geoms) const
template&class T &
std::auto_ptr&
&  ( from,
toofar) const
 See buildGeometry(std::vector&Geometry *&&) for semantics.
*  (const std::vector&
* & &geoms) const
 This function does the same thing of the omonimouse function taking vector pointer instead of reference.
int  () const
*  () const
 Returns the
associated with this .
*  (const
 Returns a clone of given .
void  ( *) const
 Destroy a , or release it.
static const
*  ()
 Return a pointer to the default . This is a global shared object instantiated using default constructor.
Supplies a set of utility methods for building
objects from
Note that the factory constructor methods do not change the input coordinates in any way. In particular, they are not rounded to the supplied . It is assumed that input Coordinates meet the given precision.
geos::geom::GeometryFactory::GeometryFactory
Constructs a
that generates Geometries having a floating
and a spatial-reference ID of 0.
geos::geom::GeometryFactory::GeometryFactory
nCoordinateSequenceFactory 
Constructs a
that generates Geometries having the given , spatial-reference ID, and
implementation.
NOTES: (1) the given
is COPIED (2) the
is NOT COPIED and must be available for the whole lifetime of the
geos::geom::GeometryFactory::GeometryFactory
nCoordinateSequenceFactory)
Constructs a
that generates Geometries having the given
implementation, a double-precision floating
and a spatial-reference ID of 0.
geos::geom::GeometryFactory::GeometryFactory
Constructs a
that generates Geometries having the given
and the default
implementation.
geos::geom::GeometryFactory::GeometryFactory
newSRID 
Constructs a
that generates Geometries having the given
and spatial-reference ID, and the default
implementation.
newSRIDthe SRID to use
geos::geom::GeometryFactory::GeometryFactory
Copy constructor.
to clone from
geos::geom::GeometryFactory::~GeometryFactory
Destructor.
* geos::geom::GeometryFactory::buildGeometry
std::vector&
* & * 
Build an appropriate , MultiGeometry, or
to contain the s in it.
For example:
If geomList contains a single , the
is returned.
If geomList contains several s, a
is returned.
If geomList contains some s and some s, a
is returned.
If geomList is empty, an empty
is returned
Note that this method does not "flatten" Geometries in the input, and hence if any MultiGeometries are contained in the input a
containing them will be returned.
newGeomsthe s to combine
of the "smallest", "most type-specific" class that can contain the elements of geomList.
NOTE: the returned
will take ownership of the given vector AND its elements
template&class T &
std::auto_ptr&& geos::geom::GeometryFactory::buildGeometry
toofar 
See buildGeometry(std::vector&Geometry *&&) for semantics.
Will clone the geometries accessible trough the iterator.
Tan iterator yelding something which casts to const Geometry*
fromstart iterator
toofarend iterator
* geos::geom::GeometryFactory::buildGeometry
const std::vector&
* & & 
This function does the same thing of the omonimouse function taking vector pointer instead of reference.
The difference is that this version will copy needed data leaving ownership to the caller.
* geos::geom::GeometryFactory::createEmptyGeometry
Construct the EMPTY .
* geos::geom::GeometryFactory::createGeometry
Returns a clone of given .
* geos::geom::GeometryFactory::createGeometryCollection
Construct an EMPTY .
* geos::geom::GeometryFactory::createGeometryCollection
std::vector&
* & * 
Construct a
taking ownership of given arguments.
* geos::geom::GeometryFactory::createGeometryCollection
const std::vector&
* & & 
Constructs a
with a deep-copy of args.
* geos::geom::GeometryFactory::createLinearRing
Construct an EMPTY .
* geos::geom::GeometryFactory::createLinearRing
newCoords)
Construct a
taking ownership of given arguments.
std::auto_ptr&& geos::geom::GeometryFactory::createLinearRing
std::auto_ptr&
newCoords)
* geos::geom::GeometryFactory::createLinearRing
coordinates)
Construct a
with a deep-copy of given arguments.
* geos::geom::GeometryFactory::createLineString
Construct an EMPTY .
std::auto_ptr&
& geos::geom::GeometryFactory::createLineString
* geos::geom::GeometryFactory::createLineString
coordinates)
Construct a
taking ownership of given argument.
std::auto_ptr&& geos::geom::GeometryFactory::createLineString
std::auto_ptr&
coordinates)
* geos::geom::GeometryFactory::createLineString
coordinates)
Construct a
with a deep-copy of given argument.
* geos::geom::GeometryFactory::createMultiLineString
Construct an EMPTY .
* geos::geom::GeometryFactory::createMultiLineString
std::vector&
* & * 
Construct a
taking ownership of given arguments.
* geos::geom::GeometryFactory::createMultiLineString
const std::vector&
* & & 
fromLines)
Construct a
with a deep-copy of given arguments.
* geos::geom::GeometryFactory::createMultiPoint
Constructs an EMPTY .
* geos::geom::GeometryFactory::createMultiPoint
std::vector&
* & * 
newPoints)
Construct a
taking ownership of given arguments.
* geos::geom::GeometryFactory::createMultiPoint
const std::vector&
* & & 
fromPoints)
Construct a
with a deep-copy of given arguments.
* geos::geom::GeometryFactory::createMultiPoint
fromCoords)
Construct a
containing a
geometry for each
in the given list.
* geos::geom::GeometryFactory::createMultiPoint
const std::vector&
fromCoords)
Construct a
containing a
geometry for each
in the given vector.
* geos::geom::GeometryFactory::createMultiPolygon
Construct an EMPTY .
* geos::geom::GeometryFactory::createMultiPolygon
std::vector&
* & * 
Construct a
taking ownership of given arguments.
* geos::geom::GeometryFactory::createMultiPolygon
const std::vector&
* & & 
fromPolys)
Construct a
with a deep-copy of given arguments.
* geos::geom::GeometryFactory::createPoint
Creates an EMPTY .
* geos::geom::GeometryFactory::createPoint
coordinate)
using the given .
* geos::geom::GeometryFactory::createPoint
coordinates)
taking ownership of the given .
* geos::geom::GeometryFactory::createPoint
coordinates)
with a deep-copy of the given .
* geos::geom::GeometryFactory::createPointFromInternalCoord
exemplar 
* geos::geom::GeometryFactory::createPolygon
Construct an EMPTY .
* geos::geom::GeometryFactory::createPolygon
std::vector&
* & * 
holes 
Construct a
taking ownership of given arguments.
* geos::geom::GeometryFactory::createPolygon
const std::vector&
* & & 
holes 
Construct a
with a deep-copy of given arguments.
void geos::geom::GeometryFactory::destroyGeometry
Destroy a , or release it.
* geos::geom::GeometryFactory::getCoordinateSequenceFactory
Returns the
associated with this .
* geos::geom::GeometryFactory::getDefaultInstance
Return a pointer to the default . This is a global shared object instantiated using default constructor.
* geos::geom::GeometryFactory::getPrecisionModel
Returns the
that Geometries created by this factory will be associated with.
int geos::geom::GeometryFactory::getSRID
* geos::geom::GeometryFactory::toGeometry
Converts an
can be a , a
or an EMPTY geom.
该类的文档由以下文件生成:
E:/Workspaces/Coding/IOS/SDK_IOS/MapView/Map/xlibspatialite/geos/include/geos/geom/
E:/Workspaces/Coding/IOS/SDK_IOS/MapView/Map/xlibspatialite/geos/include/geos/geom/
E:/Workspaces/Coding/IOS/SDK_IOS/MapView/Map/xlibspatialite/geos/src/geom/

我要回帖

更多关于 unloading geometry 的文章

 

随机推荐