Interface DistanceOptions

Index

Properties

Properties

optional public details?: boolean

Return details from the distance calculation. Default is false.

optional public edge?: boolean

Calculate the distance from this geometry to the nearest edge of the target geometry. Default is true. If true, calling distanceTo from a geometry that is wholly contained within the target will result in a non-zero distance. If false, whenever geometries intersect, calling distanceTo will return 0. If false, details cannot be returned.