public abstract class OperatorConvexHull extends Operator
Operator.Type
Constructor and Description |
---|
OperatorConvexHull() |
Modifier and Type | Method and Description |
---|---|
abstract GeometryCursor |
execute(GeometryCursor geoms,
boolean b_merge,
ProgressTracker progress_tracker)
Calculates the convex hull.
|
abstract Geometry |
execute(Geometry geom,
ProgressTracker progress_tracker)
Calculates the convex hull geometry.
|
Operator.Type |
getType() |
abstract boolean |
isConvex(Geometry geom,
ProgressTracker progress_tracker)
Checks whether a Geometry is convex.
|
static OperatorConvexHull |
local() |
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
public Operator.Type getType()
public abstract GeometryCursor execute(GeometryCursor geoms, boolean b_merge, ProgressTracker progress_tracker)
geoms
- The input geometry cursor.progress_tracker
- The progress tracker. Allows cancellation of a lengthy operation.b_merge
- Put true if you want the convex hull of all the geometries in the cursor combined.
Put false if you want the convex hull of each geometry in the cursor individually.public abstract Geometry execute(Geometry geom, ProgressTracker progress_tracker)
geom
- The input geometry.progress_tracker
- The progress tracker. Allows cancellation of a lengthy operation.public abstract boolean isConvex(Geometry geom, ProgressTracker progress_tracker)
geom
- The input geometry to test for convex.progress_tracker
- The progress tracker.public static OperatorConvexHull local()
Copyright © 2018. All rights reserved.