public class TrimLineOperationUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
END_SIDE
Use it to indicate end side should be trimmed
|
static 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 double |
getAngle(Point start,
Point end) |
static TrimLineOperation |
getOperation(Primitive geom) |
static boolean |
intersects(Curve curve,
Point projectedPoint) |
static void |
register(TrimLineOperation operation,
int geometryType) |
public static final String START_SIDE
public static final String END_SIDE
public static void register(TrimLineOperation operation, int geometryType)
public static TrimLineOperation getOperation(Primitive geom)
public static double getAngle(Point start, Point end) throws GeometryOperationNotSupportedException, GeometryOperationException
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