public class TrimLineOperationUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
END_SIDE
Use it to indicate end side should be trimmed
|
static double |
SNAP_TOLERANCE |
static java.lang.String |
START_SIDE
Use it to indicate start side should be trimmed
|
| Constructor and Description |
|---|
TrimLineOperationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Arc |
createArc(Point center,
double radius,
Point initPoint,
Point endPoint,
int subtype) |
static TrimLineOperation |
getOperation(Primitive geom) |
static java.lang.Double |
getSide(Geometry geometry,
Curve curve) |
static java.lang.Double |
getSide(Geometry geometry,
Point point) |
static double |
getSide(Point a,
Point b,
Point c) |
static boolean |
intersects(Curve curve,
Point projectedPoint) |
static void |
register(TrimLineOperation operation,
int geometryType) |
public static final java.lang.String START_SIDE
public static final java.lang.String END_SIDE
public static final double SNAP_TOLERANCE
public static void register(TrimLineOperation operation, int geometryType)
public static TrimLineOperation getOperation(Primitive geom)
public static Arc createArc(Point center, double radius, Point initPoint, Point endPoint, int subtype) throws CreateGeometryException, LocatorException, GeometryOperationNotSupportedException, GeometryOperationException
public static boolean intersects(Curve curve, Point projectedPoint) throws GeometryOperationNotSupportedException, GeometryOperationException
public static java.lang.Double getSide(Geometry geometry, Point point) throws GeometryOperationNotSupportedException, GeometryOperationException, CreateGeometryException
public static java.lang.Double getSide(Geometry geometry, Curve curve) throws GeometryOperationNotSupportedException, GeometryOperationException, CreateGeometryException