public class ArcExtendLineOperation extends java.lang.Object implements ExtendLineOperation
| Constructor and Description |
|---|
ArcExtendLineOperation() |
| Modifier and Type | Method and Description |
|---|---|
Curve |
extendLine(Curve lineToExtend,
Point insertedPoint,
FeatureSelection boundaryObjects)
Extend line to boundary objects received as parameters.Inserted point is the point inserted by user.It is used to determinate
what side of curve it must extend.If curveToBeExtended does not intersect with any geometry, the geometry will
not be modified.
|
Curve |
extendLine(Curve lineToExtend,
Point insertedPoint,
Geometry boundaryObject)
Extend line to boundary objects received as parameters.Inserted point is the point inserted by user.It is used to determinate
what side of curve it must extend.If curveToBeExtended does not intersect with any geometry, the geometry will
not be modified.
|
public Curve extendLine(Curve lineToExtend, Point insertedPoint, FeatureSelection boundaryObjects) throws GeometryOperationNotSupportedException, GeometryOperationException, DataException, CreateGeometryException
ExtendLineOperationextendLine in interface ExtendLineOperationlineToExtend - Curve to be extended.insertedPoint - Point inserted by user to determinate what side of curve must
be extended.boundaryObjects - If curveToBeExtended intersects with some boundary object, it will
be extend to it. If there are several boundary objects that
intersects with curveToBeExtended, it will be extended to nearest
point.GeometryOperationNotSupportedExceptionGeometryOperationExceptionDataExceptionCreateGeometryExceptionpublic Curve extendLine(Curve lineToExtend, Point insertedPoint, Geometry boundaryObject) throws GeometryOperationNotSupportedException, GeometryOperationException, DataException, CreateGeometryException
ExtendLineOperationextendLine in interface ExtendLineOperationlineToExtend - Curve to be extended.insertedPoint - Point inserted by user to determinate what side of curve must
be extended.boundaryObject - If curveToBeExtended intersects with boundary object, it will
be extend to it.GeometryOperationNotSupportedExceptionGeometryOperationExceptionDataExceptionCreateGeometryException