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`
GEOSPrepare
​
GEOSPrepare[g]
prepares graphics primitives or
GEOSGeometry
g
for optimized use by certain functions.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Prepare a polygon for efficient operations:
In[1]:=
geom=
ToGEOSGeometry

Polygon[
]
;
In[2]:=
prep=
GEOSPrepare
[geom]
Out[2]=
Compute the distance to a point:
In[3]:=
p=
ToGEOSGeometry
[Point[{0,0}]];
In[4]:=
GEOSDistance
[prep,p]//RepeatedTiming
Out[4]=
{1.36707×
-6
10
,0.632716}
The result is an order of magnitude faster than without prepared geometry:
In[5]:=
GEOSDistance
[geom,p]//RepeatedTiming
Out[5]=
{0.000443994,0.632716}
SeeAlso
GEOSPreparedGeometry
RelatedGuides
▪
GEOSGeometry
""

© 2025 Wolfram. All rights reserved.

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