point = new Point(2, 3); IGeometryBuffer buffer = point.Buffer(5);
line = new LineString(...); IGeometryBuffer buffer = line.Buffer(2);
polygon = new Polygon(...); IGeometryBuffer buffer = polygon.Buffer(10);In this example, we create a Polygon geometry and then create a buffer around it with a distance of 10. The IGeometryBuffer interface is part of the NetTopologySuite package library, which is an open-source library for spatial data manipulation.