SqlSpatialServices.GetPointOnSurface(DbGeometry) Method

Definition

Returns a DbGeometry value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface.

public override System.Data.Entity.Spatial.DbGeometry GetPointOnSurface (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetPointOnSurface : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function GetPointOnSurface (geometryValue As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a surface.

Returns

A DbGeometry value that represents a point on the surface of the given DbGeometry value.

Applies to