Centroid Method (GeographicSurface)

The geographic centroid.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
Public Overridable Function Centroid ( _
    operand As GeographicSurface _
) As GeographicPoint
'Usage
Dim instance As SpatialOperations
Dim operand As GeographicSurface
Dim returnValue As GeographicPoint

returnValue = instance.Centroid(operand)
public virtual GeographicPoint Centroid(
    GeographicSurface operand
)
public:
virtual GeographicPoint^ Centroid(
    GeographicSurface^ operand
)
abstract Centroid : 
        operand:GeographicSurface -> GeographicPoint 
override Centroid : 
        operand:GeographicSurface -> GeographicPoint 
public function Centroid(
    operand : GeographicSurface
) : GeographicPoint

Parameters

Return Value

Type: System.Spatial..::..GeographicPoint
The operation result.

See Also

Reference

SpatialOperations Class

Centroid Overload

System.Spatial Namespace