SqlSpatialServices.GetPointOnSurface Method (DbGeometry)

 

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.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override DbGeometry GetPointOnSurface(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a surface.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

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