public class ArcTrimLineOperation extends java.lang.Object implements TrimLineOperation
| Constructor and Description |
|---|
ArcTrimLineOperation() |
| Modifier and Type | Method and Description |
|---|---|
MultiCurve |
trimLine(Curve curveToTrim,
Point shearsPoint,
FeatureSelection shearingObjects)
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.
|
MultiCurve |
trimLine(Curve curveToTrim,
Point shearingPoint,
Geometry boundaryObject)
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.
|
public MultiCurve trimLine(Curve curveToTrim, Point shearsPoint, FeatureSelection shearingObjects) throws GeometryOperationNotSupportedException, GeometryOperationException, DataException, CreateGeometryException, LocatorException
TrimLineOperationtrimLine in interface TrimLineOperationcurveToTrim - Curve to trimshearsPoint - Point inserted by user to determinate what side of curve must
be extended.shearingObjects - 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.GeometryOperationNotSupportedExceptionGeometryOperationExceptionDataExceptionCreateGeometryExceptionLocatorExceptionpublic MultiCurve trimLine(Curve curveToTrim, Point shearingPoint, Geometry boundaryObject) throws GeometryOperationNotSupportedException, GeometryOperationException, DataException, CreateGeometryException, LocatorException
TrimLineOperationtrimLine in interface TrimLineOperationcurveToTrim - Curve to trimshearingPoint - Point inserted by user to determinate what side of curve must
be extended.boundaryObject - 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.GeometryOperationNotSupportedExceptionGeometryOperationExceptionDataExceptionCreateGeometryExceptionLocatorException