Interface TrimLineOperation

All Known Implementing Classes:
ArcTrimLineOperation, CurveTrimLineOperation

public interface TrimLineOperation
Represents an operation to trim curve.
Author:
llmarques
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gvsig.fmap.geom.aggregate.MultiCurve
    trimLine(org.gvsig.fmap.geom.primitive.Curve curveToTrim, org.gvsig.fmap.geom.primitive.Point shearingPoint, org.gvsig.fmap.dal.feature.FeatureSelection shears)
    Trim line, taking as cutting edges the shears received as parameters.Inserted point is the point inserted by user.It is used to determinate what segment of curve it must trimmed.If curveToBeExtended does not intersect with any geometry, the geometry will not be modified.
    org.gvsig.fmap.geom.aggregate.MultiCurve
    trimLine(org.gvsig.fmap.geom.primitive.Curve curveToTrim, org.gvsig.fmap.geom.primitive.Point shearingPoint, org.gvsig.fmap.geom.Geometry shears)
    Trim line, taking as cutting edges the boundary objects received as parameters.Inserted point is the point inserted by user.It is used to determinate what segment of curve it must trimmed.If curveToBeExtended does not intersect with any geometry, the geometry will not be modified.
  • Method Details

    • trimLine

      org.gvsig.fmap.geom.aggregate.MultiCurve trimLine(org.gvsig.fmap.geom.primitive.Curve curveToTrim, org.gvsig.fmap.geom.primitive.Point shearingPoint, org.gvsig.fmap.dal.feature.FeatureSelection shears) 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, org.gvsig.tools.locator.LocatorException
      Trim line, taking as cutting edges the shears received as parameters.Inserted point is the point inserted by user.It is used to determinate what segment of curve it must trimmed.If curveToBeExtended does not intersect with any geometry, the geometry will not be modified.
      Parameters:
      curveToTrim - Curve to trim
      shearingPoint - Point inserted by user to determinate what side of curve must be extended.
      shears - If curveToBeExtended intersects with some shears, it will be cutted to it. If there are several shears that intersects with curveToTrim, it will be cutted to nearest point.
      Returns:
      Trimmed line
      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
      org.gvsig.tools.locator.LocatorException
    • trimLine

      org.gvsig.fmap.geom.aggregate.MultiCurve trimLine(org.gvsig.fmap.geom.primitive.Curve curveToTrim, org.gvsig.fmap.geom.primitive.Point shearingPoint, org.gvsig.fmap.geom.Geometry shears) 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, org.gvsig.tools.locator.LocatorException
      Trim line, taking as cutting edges the boundary objects received as parameters.Inserted point is the point inserted by user.It is used to determinate what segment of curve it must trimmed.If curveToBeExtended does not intersect with any geometry, the geometry will not be modified.
      Parameters:
      curveToTrim - Curve to trim
      shearingPoint - Point inserted by user to determinate what side of curve must be extended.
      shears - 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:
      Trimmed line
      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
      org.gvsig.tools.locator.LocatorException