public class SplitLineOperationUtils
extends java.lang.Object
| Constructor and Description |
|---|
SplitLineOperationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Point |
createPoint(double x,
double y,
int subtype) |
static double |
getAngle(Point start,
Point end) |
static Point |
getIntersection(Point[] lineA,
Point[] lineB,
int subtype) |
static java.lang.Double[] |
getLineParams(Point point,
Point nextPoint) |
static Point |
getMidPoint(Point a,
Point b,
int subtype) |
static SplitLineOperation |
getOperation(Primitive geom) |
static Point[] |
getPerpendicular(java.lang.Double m,
java.lang.Double b,
Point perp,
int subtype) |
static boolean |
intersects(Curve curve,
Point projectedPoint) |
static void |
register(SplitLineOperation operation,
int geometryType) |
public static void register(SplitLineOperation operation, int geometryType)
public static SplitLineOperation getOperation(Primitive geom)
public static boolean intersects(Curve curve, Point projectedPoint) throws GeometryOperationNotSupportedException, GeometryOperationException
public static Point[] getPerpendicular(java.lang.Double m, java.lang.Double b, Point perp, int subtype) throws CreateGeometryException
CreateGeometryExceptionpublic static double getAngle(Point start, Point end) throws GeometryOperationNotSupportedException, GeometryOperationException
public static Point getMidPoint(Point a, Point b, int subtype) throws CreateGeometryException
CreateGeometryExceptionpublic static Point createPoint(double x, double y, int subtype) throws CreateGeometryException
CreateGeometryExceptionpublic static Point getIntersection(Point[] lineA, Point[] lineB, int subtype) throws CreateGeometryException
CreateGeometryException