Buffer Method
The geographic buffer.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Buffer ( _
operand As Geography, _
distance As Double, _
tolerance As Double _
) As Geography
'Usage
Dim operand As Geography
Dim distance As Double
Dim tolerance As Double
Dim returnValue As Geography
returnValue = operand.Buffer(distance, _
tolerance)
public static Geography Buffer(
this Geography operand,
double distance,
double tolerance
)
[ExtensionAttribute]
public:
static Geography^ Buffer(
Geography^ operand,
double distance,
double tolerance
)
static member Buffer :
operand:Geography *
distance:float *
tolerance:float -> Geography
public static function Buffer(
operand : Geography,
distance : double,
tolerance : double
) : Geography
Parameters
- operand
Type: System.Spatial..::..Geography
The operand.
- distance
Type: System..::..Double
The distance to buffer.
- tolerance
Type: System..::..Double
The tolerance of the distance.
Return Value
Type: System.Spatial..::..Geography
The buffered geography.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Geography. 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).