Interface ExtendLineOperation
- All Known Implementing Classes:
ArcExtendLineOperation,CurveExtendLineOperation
public interface ExtendLineOperation
Represents an operation to extend curve.
- Author:
- llmarques
-
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.geom.primitive.CurveextendLine(org.gvsig.fmap.geom.primitive.Curve curveToBeExtended, org.gvsig.fmap.geom.primitive.Point insertedPoint, org.gvsig.fmap.dal.feature.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.org.gvsig.fmap.geom.primitive.CurveextendLine(org.gvsig.fmap.geom.primitive.Curve curveToBeExtended, org.gvsig.fmap.geom.primitive.Point insertedPoint, org.gvsig.fmap.geom.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.
-
Method Details
-
extendLine
org.gvsig.fmap.geom.primitive.Curve extendLine(org.gvsig.fmap.geom.primitive.Curve curveToBeExtended, org.gvsig.fmap.geom.primitive.Point insertedPoint, org.gvsig.fmap.dal.feature.FeatureSelection boundaryObjects) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException, org.gvsig.fmap.dal.exception.DataException, org.gvsig.fmap.geom.GeometryException 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.- Parameters:
curveToBeExtended- 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:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationExceptionorg.gvsig.fmap.dal.exception.DataExceptionorg.gvsig.fmap.geom.GeometryException
-
extendLine
org.gvsig.fmap.geom.primitive.Curve extendLine(org.gvsig.fmap.geom.primitive.Curve curveToBeExtended, org.gvsig.fmap.geom.primitive.Point insertedPoint, org.gvsig.fmap.geom.Geometry boundaryObject) throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException, org.gvsig.fmap.geom.operation.GeometryOperationException, org.gvsig.fmap.dal.exception.DataException, org.gvsig.fmap.geom.GeometryException 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.- Parameters:
curveToBeExtended- 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.- Returns:
- extended line.
- Throws:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationExceptionorg.gvsig.fmap.dal.exception.DataExceptionorg.gvsig.fmap.geom.GeometryException
-