extendLine
public Curve extendLine(Curve lineToExtend,
Point insertedPoint,
FeatureSelection boundaryObjects)
throws GeometryOperationNotSupportedException,
GeometryOperationException,
DataException,
CreateGeometryException
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.
- Specified by:
extendLine
in interface ExtendLineOperation
- Parameters:
lineToExtend
- 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.
- Returns:
- extended line.
- Throws:
GeometryOperationNotSupportedException
GeometryOperationException
DataException
CreateGeometryException