public class DouglasPeuckerGeometrySimplifier extends GeometrySimplifier
swigCMemOwn
构造器和说明 |
---|
DouglasPeuckerGeometrySimplifier(float tolerance)
Constructs a new simplifier, given tolerance.
|
DouglasPeuckerGeometrySimplifier(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(DouglasPeuckerGeometrySimplifier obj) |
Geometry |
simplify(Geometry geometry,
float scale)
Perform the simplification of the given geometry, given relative scale.
|
static DouglasPeuckerGeometrySimplifier |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
equals, getCPtr, hashCode
public DouglasPeuckerGeometrySimplifier(long cPtr, boolean cMemoryOwn)
public DouglasPeuckerGeometrySimplifier(float tolerance)
tolerance
- The maximum error for simplification. The tolerance value gives maximum error in pixels.public static long getCPtr(DouglasPeuckerGeometrySimplifier obj)
protected void finalize()
finalize
在类中 GeometrySimplifier
public void delete()
delete
在类中 GeometrySimplifier
public static DouglasPeuckerGeometrySimplifier swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public Geometry simplify(Geometry geometry, float scale)
GeometrySimplifier
simplify
在类中 GeometrySimplifier
geometry
- The geometry to simplify.scale
- Relative scale for simplification, this is proportional to 2^zoom.public java.lang.String swigGetClassName()
swigGetClassName
在类中 GeometrySimplifier
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 GeometrySimplifier