In this chapter, we discussed in detail the use of ArcPy geometry objects. These varied objects have similar methods and are, in fact, sub-classed from the same Python class. They are useful for performing in-memory geospatial analyses, which avoids having to read and write data from the hard drive and also skips creating any intermediate data.
ArcPy geometry objects will become an important part of automating geospatial workflows. Combining them with Search Cursors makes ArcPy more useful than any earlier implementation of Python scripting tools for ArcGIS. Next, we will convert the raw script into a script tool that can be executed directly from the ArcToolbox or a personal toolbox in a geodatabase.