Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

GEOSGeometry

Guides

  • GEOSGeometry

Symbols

  • GEOSArea
  • GEOSBoundary
  • GEOSBuffer
  • GEOSCentroid
  • GEOSContains
  • GEOSConvexHull
  • GEOSCovers
  • GEOSDelaunayMesh
  • GEOSDifference
  • GEOSDisjoint
  • GEOSDistance
  • GEOSDistanceWithin
  • GEOSEquals
  • GEOSGeometry
  • GEOSHausdorffDistance
  • GEOSIntersection
  • GEOSIntersects
  • GEOSLength
  • GEOSMerge
  • GEOSOverlaps
  • GEOSPreparedGeometry
  • GEOSPrepare
  • GEOSSymmetricDifference
  • GEOSTouches
  • GEOSUnion
  • GEOSVoronoiMesh
  • GEOSWithin
  • ToGEOSGeometry
ChristopherWolfram`GEOSGeometry`
GEOSDistanceWithin
​
GEOSDistanceWithin[
g
1
,
g
2
,r]
gives
True
when the distance between
g
1
and
g
2
is less than
r
.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Check if the distance between two geometries is within 2 units:
In[1]:=
g1=
ToGEOSGeometry
Polygon
Number of points: 3
Embedding dimension: 2
;​​g2=
ToGEOSGeometry
[Point[{3,3}]];
In[2]:=
GEOSDistanceWithin
[g1,g2,2]
Out[2]=
False
Check whether they are within 3 units:
In[3]:=
GEOSDistanceWithin
[g1,g2,3]
Out[3]=
True
SeeAlso
GEOSDistance
 
▪
RegionDistance
RelatedGuides
▪
GEOSGeometry
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com