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
- operand
Type: System.Spatial..::..Geometry
The operand.
- distance
Type: System..::..Double
The distance to buffer.
- tolerance
Type: System..::..Double
The tolerance of the distance.
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).