Class ArcExtendLineOperation
java.lang.Object
org.gvsig.vectorediting.lib.prov.extendline.operation.ArcExtendLineOperation
- All Implemented Interfaces:
ExtendLineOperation
- Author:
- llmarques
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.gvsig.fmap.geom.primitive.CurveextendLine(org.gvsig.fmap.geom.primitive.Curve lineToExtend, 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 lineToExtend, 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.
-
Constructor Details
-
ArcExtendLineOperation
public ArcExtendLineOperation()
-
-
Method Details
-
extendLine
public org.gvsig.fmap.geom.primitive.Curve extendLine(org.gvsig.fmap.geom.primitive.Curve lineToExtend, 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.exception.CreateGeometryException Description copied from interface:ExtendLineOperationExtend 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:
extendLinein interfaceExtendLineOperation- 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:
org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedExceptionorg.gvsig.fmap.geom.operation.GeometryOperationExceptionorg.gvsig.fmap.dal.exception.DataExceptionorg.gvsig.fmap.geom.exception.CreateGeometryException
-
extendLine
public org.gvsig.fmap.geom.primitive.Curve extendLine(org.gvsig.fmap.geom.primitive.Curve lineToExtend, 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.exception.CreateGeometryException Description copied from interface:ExtendLineOperationExtend 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:
extendLinein interfaceExtendLineOperation- Parameters:
lineToExtend- 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.exception.CreateGeometryException
-