## SpatialOperations

**Summary**

Contains public methods for users to clip grids and shapes
with.

**Functions**

ClipGridWithPolygon |
This function has 2 overloads. |

SelectWithPolygon |
Selects all points/lines/polygons in the input shapefile that
intersect the polygon shape. Returns the selected shapes in a new shapefile. |

ClipShapesWithPolygon |
This function has 4 overloads. |

ClipPolygonSFWithLineSF |
In Development: Prone to errors! For clipping multiple polygons with multiple lines. |

ClipPolygonWithLine |
This function has 4 overloads. |

Difference |
Returns a new polygon representing the point set difference of poly1 with poly2. |

Union |
Returns a new polygon representing the point set combination of polygon1 with polygon2. |

Intersection |
Returns a new polygon representing the point set intersection of polygon1 with polygon2. |

SymmetricDifference |
Returns a new polygon representing the point set exclusive OR of polygon1 with polygon2. |

MergeShapes |
This function has 2 overloads. |

BufferShape |
Creates a buffer around the input shape at the distance
specified. |

BufferSF |
Buffers all shapes in the input shapefile. |

BufferLine |
Creates a polygon buffer around the line at the distance
specified. |

BufferLineSF |
Creates a buffer around each line in the input
shapefile. |

BufferPolygon |
Creates a buffer around (or inside of) the input polygon at the
distance specified. |

BufferPolygonSF |
Creates a buffer around each polygon in the input
shapefile. |

Erase |
This function has 2 overloads. |

ConvexHull |
Not Implemented Computes the convex hull of a polygon. The convex hull is the smallest convex polygon that contains all the points in the input polgyon. Uses the Graham Scan algorithm. |

Identity |
Not Implemented Computes a geometric intersection of the input shapes and the indentity shapes. The input shapes, or portions thereof that overlap the identity shapes, will get the attributes of those identity shapes. |

SelectByAttribute |
Selects all shapes in the input shapefile based on a field
value. |