Udostępnij za pośrednictwem


DbSpatialServices.Buffer Metoda

Definicja

Przeciążenia

Buffer(DbGeography, Double)

Tworzy wartość geografii reprezentującą wszystkie punkty mniejsze lub równe odległości od danej DbGeography wartości.

Buffer(DbGeometry, Double)

Tworzy wartość geometryczną reprezentującą wszystkie punkty mniejsze lub równe odległości od danej DbGeometry wartości.

Buffer(DbGeography, Double)

Tworzy wartość geografii reprezentującą wszystkie punkty mniejsze lub równe odległości od danej DbGeography wartości.

public abstract System.Data.Entity.Spatial.DbGeography Buffer (System.Data.Entity.Spatial.DbGeography geographyValue, double distance);
abstract member Buffer : System.Data.Entity.Spatial.DbGeography * double -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function Buffer (geographyValue As DbGeography, distance As Double) As DbGeography

Parametry

geographyValue
DbGeography

Wartość geografii.

distance
Double

Podwójna wartość określająca, jak daleko od geographyValue do buforu.

Zwraca

Nowa wartość dbGeography reprezentująca wszystkie punkty mniejsze lub równe odległości od lokalizacji geograficznejValue.

Wyjątki

geographyValue ma wartość null.

geographyValue nie jest zgodna z tą implementacją usług przestrzennych.

Dotyczy

Buffer(DbGeometry, Double)

Tworzy wartość geometryczną reprezentującą wszystkie punkty mniejsze lub równe odległości od danej DbGeometry wartości.

public abstract System.Data.Entity.Spatial.DbGeometry Buffer (System.Data.Entity.Spatial.DbGeometry geometryValue, double distance);
abstract member Buffer : System.Data.Entity.Spatial.DbGeometry * double -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function Buffer (geometryValue As DbGeometry, distance As Double) As DbGeometry

Parametry

geometryValue
DbGeometry

Wartość geometrii.

distance
Double

Podwójna wartość określająca, jak daleko od geometryValue do bufora.

Zwraca

Nowa wartość DbGeometry reprezentująca wszystkie punkty mniejsze lub równe odległości od geometryValue.

Wyjątki

geometryValue ma wartość null.

geometryValue nie jest zgodna z tą implementacją usług przestrzennych.

Dotyczy