DbSpatialServices.Buffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a geography value representing all points less than or equal to distance
from the given value.
Overloads
Buffer(DbGeography, Double) |
Creates a geography value representing all points less than or equal to |
Buffer(DbGeometry, Double) |
Creates a geometry value representing all points less than or equal to |
Buffer(DbGeography, Double)
Creates a geography value representing all points less than or equal to distance
from the given DbGeography value.
public:
abstract System::Data::Spatial::DbGeography ^ Buffer(System::Data::Spatial::DbGeography ^ geographyValue, double distance);
public abstract System.Data.Spatial.DbGeography Buffer (System.Data.Spatial.DbGeography geographyValue, double distance);
abstract member Buffer : System.Data.Spatial.DbGeography * double -> System.Data.Spatial.DbGeography
Public MustOverride Function Buffer (geographyValue As DbGeography, distance As Double) As DbGeography
Parameters
- geographyValue
- DbGeography
The geography value.
- distance
- Double
A double value specifying how far from geographyValue
to buffer.
Returns
A new DbGeography value representing all points less than or equal to distance
from geographyValue
.
Exceptions
geographyValue
geographyValue
Applies to
Buffer(DbGeometry, Double)
Creates a geometry value representing all points less than or equal to distance
from the given DbGeometry value.
public:
abstract System::Data::Spatial::DbGeometry ^ Buffer(System::Data::Spatial::DbGeometry ^ geometryValue, double distance);
public abstract System.Data.Spatial.DbGeometry Buffer (System.Data.Spatial.DbGeometry geometryValue, double distance);
abstract member Buffer : System.Data.Spatial.DbGeometry * double -> System.Data.Spatial.DbGeometry
Public MustOverride Function Buffer (geometryValue As DbGeometry, distance As Double) As DbGeometry
Parameters
- geometryValue
- DbGeometry
The geometry value.
- distance
- Double
A double value specifying how far from geometryValue
to buffer.
Returns
A new DbGeometry value representing all points less than or equal to distance
from geometryValue
.
Exceptions
geometryValue
geometryValue
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om