Buffer Method

The geometric buffer.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Buffer ( _
    operand As Geometry, _
    distance As Double, _
    tolerance As Double _
) As Geometry
'Usage
Dim operand As Geometry
Dim distance As Double
Dim tolerance As Double
Dim returnValue As Geometry

returnValue = operand.Buffer(distance, _
    tolerance)
public static Geometry Buffer(
    this Geometry operand,
    double distance,
    double tolerance
)
[ExtensionAttribute]
public:
static Geometry^ Buffer(
    Geometry^ operand, 
    double distance, 
    double tolerance
)
static member Buffer : 
        operand:Geometry * 
        distance:float * 
        tolerance:float -> Geometry 
public static function Buffer(
    operand : Geometry, 
    distance : double, 
    tolerance : double
) : Geometry

Parameters

Return Value

Type: System.Spatial..::..Geometry
buffered geometry.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Geometry. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

GeometryOperationsExtensions Class

System.Spatial Namespace