public class SplitLineOperationUtils extends 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 Double[] |
getLineParams(Point point,
Point nextPoint) |
static Point |
getMidPoint(Point a,
Point b,
int subtype) |
static SplitLineOperation |
getOperation(Primitive geom) |
static Point[] |
getPerpendicular(Double m,
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(Double m, Double b, Point perp, int subtype) throws CreateGeometryException
CreateGeometryException
public static double getAngle(Point start, Point end) throws GeometryOperationNotSupportedException, GeometryOperationException
public static Point getMidPoint(Point a, Point b, int subtype) throws CreateGeometryException
CreateGeometryException
public static Point createPoint(double x, double y, int subtype) throws CreateGeometryException
CreateGeometryException
public static Point getIntersection(Point[] lineA, Point[] lineB, int subtype) throws CreateGeometryException
CreateGeometryException