Class CurveExtendLineOperation

java.lang.Object
org.gvsig.vectorediting.lib.prov.extendline.operation.CurveExtendLineOperation
All Implemented Interfaces:
ExtendLineOperation

public class CurveExtendLineOperation extends Object implements ExtendLineOperation
Author:
llmarques
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    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.Curve
    extendLine(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CurveExtendLineOperation

      public CurveExtendLineOperation()
  • 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.GeometryException
      Description copied from interface: ExtendLineOperation
      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:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.dal.exception.DataException
      org.gvsig.fmap.geom.GeometryException
    • 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.GeometryException
      Description copied from interface: ExtendLineOperation
      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.
      boundaryObject - If curveToBeExtended intersects with boundary object, it will be extend to it.
      Returns:
      extended line.
      Throws:
      org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException
      org.gvsig.fmap.geom.operation.GeometryOperationException
      org.gvsig.fmap.dal.exception.DataException
      org.gvsig.fmap.geom.GeometryException