DbSpatialServices.GetPointOnSurface(DbGeometry) 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.
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 abstract System.Data.Entity.Spatial.DbGeometry GetPointOnSurface (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetPointOnSurface : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride 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.
Exceptions
geometryValue
is null.
geometryValue
is not compatible with this spatial services implementation.
Applies to
Entity Framework