## Uses of Class
com.mapinfo.midev.unit.Length

Packages that use Length
com.mapinfo.midev.geometry: The Geometry package consists of a series of interfaces, classes and enumerations that allow users to work with geometry objects.
com.mapinfo.midev.geometry.operations: Classes used for geometry operations.
com.mapinfo.midev.language.filter: Contains the classes that comprise the Filter Language.
com.mapinfo.midev.language.filter.DistanceToEdge
com.mapinfo.midev.unit: Units of measure and scalar quantities.

### Uses of Length in com.mapinfo.midev.geometry

Fields in com.mapinfo.midev.geometry declared as Length
`static Length` SpatialInfo.`DEFAULT_TOLERANCE_LENGTH` Application default tolerance, 0.04 meter.

Methods in com.mapinfo.midev.geometry that return Length
`Length` ICurve.`getEndDistance(ComputationType ct)` Returns the distance corresponding to the last `IDirectPosition` of this generic curve.
`Length` ICurveSegment.`getEndDistance(ComputationType ct)` Returns the distance corresponding to the last direct position of this generic curve.
`Length` IRing.`getEndDistance(ComputationType ct)` Returns the distance corresponding to the last direct position of this `IRing`.
`Length` IRectangle.`getHeight(ComputationType ct)` Returns the height of the `IRectangle` using the specified `ComputationType`.
`Length` ICurve.`getLength(ComputationType ct)` Returns the total length of this geometry using the given `ComputationType`.
`Length` ICurveSegment.`getLength(ComputationType ct)` Returns the length of this `ICurveSegment` using the specified `ComputationType`.
`Length` IMultiCurve.`getLength(ComputationType ct)` Computes the total length of this `IMultiCurve` using the given `ComputationType`.
`Length` IGeometry.`getPerimeter(ComputationType ct)` Computes the total perimeter of this geometry.
`Length` ICurve.`getStartDistance(ComputationType ct)` Returns the distance corresponding to the first `IDirectPosition` of this generic curve.
`Length` ICurveSegment.`getStartDistance(ComputationType ct)` Returns the distance corresponding to the first direct position of this generic curve.
`Length` IRing.`getStartDistance(ComputationType ct)` Returns the distance corresponding to the first direct position of this `IRing`.
`Length` SpatialInfo.`getToleranceLength()` Get the tolerance to use when comparing the coordinates of the geometry.
`Length` IRectangle.`getWidth(ComputationType ct)` Returns the width of the `IRectangle` using the specified `ComputationType`.

Methods in com.mapinfo.midev.geometry with parameters of type Length
`ILineString` ICurve.`asLineString(Length maxSpacing, Length maxOffset)` Approximates the curve as a single `ILineString`.
`ILineString` ICurveSegment.`asLineString(Length maxSpacing, Length maxOffset)` Returns an `ILineString` that approximates this `ICurveSegment`.
`ILineString` ILineString.`asLineString(Length maxSpacing, Length maxOffset)`
`ILineString` IRing.`asLineString(Length maxSpacing, Length maxOffset)` Returns a linear approximation of this `IRing` as a single `ILineString`.
`DirectPosition` ICurve.`getPointForDistance(Length len)` Returns the `DirectPosition` that lies at the specified distance along this curve.
`DirectPosition` ICurveSegment.`getPointForDistance(Length len)` Returns the `DirectPosition` that lies at the specified distance along this curve.
`DirectPosition` IRing.`getPointForDistance(Length len)` Returns the `DirectPosition` that lies at the specified distance along this `IRing`.

### Uses of Length in com.mapinfo.midev.geometry.operations

Methods in com.mapinfo.midev.geometry.operations that return Length
`static Length` GeometryOperations.`distance(IGeometry first, IGeometry second)` Returns the minimum distance between the two geometries.
`static Length` GeometryOperations.`distance(IGeometry first, IGeometry second, ComputationType model)` Returns the minimum distance between the two geometries.
`static Length` GeometryOperations.`distanceToEdge(IGeometry first, IGeometry second, ComputationType model)` Returns the minimum distance between the two geometries.
`Length` ClosestPoints.`getDistance()` Returns the distance of the two points.
`static Length` GeometryOperations.`length(IGeometry geom, ComputationType model)` Computes the length of a geometry.
`static Length` GeometryOperations.`perimeter(IGeometry geom, ComputationType model)` Returns the total perimeter of the geometry.

### Uses of Length in com.mapinfo.midev.language.filter

Methods in com.mapinfo.midev.language.filter that return Length
`Length` DistanceFilter.`getDistance()` Returns the distance to test.
`Length` NearestFilter.`getDistance()` Returns the maximum distance from the search geometry to search within.

Methods in com.mapinfo.midev.language.filter with parameters of type Length
`NearestFilterBuilder` NearestFilterBuilder.`maxDistance(Length maxDistance)` Set maxmimum distance from the search geometry to search within.

Constructors in com.mapinfo.midev.language.filter with parameters of type Length
Constructor and Description
`DistanceFilter(String geometryAttributeName, IFeatureGeometry searchGeometry, DistanceFilterType type, Length distance)` Create a filter that determines if any geometries are within a specified distance of a specified geometry.

### Uses of Length in com.mapinfo.midev.language.filter.DistanceToEdge

Methods in com.mapinfo.midev.language.filter.DistanceToEdge that return Length
`Length` DistanceToEdgeFilter.`getMaxDistance()`

Methods in com.mapinfo.midev.language.filter.DistanceToEdge with parameters of type Length
`DistanceToEdgeFilterBuilder` DistanceToEdgeFilterBuilder.`maxDistance(Length maxDistance)` Sets the maximum distance from the search point and returns this builder

### Uses of Length in com.mapinfo.midev.unit

Methods in com.mapinfo.midev.unit that return Length
`static Length` Angle.`convert(Angle angle)` Convert the given angle to an approximated equivalent linear distance.
`static Length` Length.`convert(Length length, LinearUnit unit)` Returns the specified `Length` converted from its `LinearUnit` to the specified `LinearUnit`.

Methods in com.mapinfo.midev.unit with parameters of type Length
`int` Length.`compareTo(Length length)` Compare this legnth to another.
`static Angle` Length.`convert(Length length)` Returns the specified `Length` into an comparable `Angle`.
`static Length` Length.`convert(Length length, LinearUnit unit)` Returns the specified `Length` converted from its `LinearUnit` to the specified `LinearUnit`.
`boolean` Length.`equivalent(Length length)` Returns `true` if the specified `Length` is equivalent to this `Length`.
`boolean` Length.`equivalent(Length length, double tolerance)` Returns `true` if the specified `Length` is equivalent to this `Length`.