Table of Contents

Constructor SpatialCentroid

Namespace
YndigoBlue.Velocity.Functions
Assembly
YndigoBlue.Velocity.dll

SpatialCentroid(Column)

Initializes a new instance of ST_Centroid with a spatial column.

public SpatialCentroid(Column column)

Parameters

column Column

The spatial column to compute the centroid for.

SpatialCentroid(Geometry)

Initializes a new instance of ST_Centroid with a geometry literal.

public SpatialCentroid(Geometry geometry)

Parameters

geometry Geometry

The geometry to compute the centroid for.

SpatialCentroid(Geography)

Initializes a new instance of ST_Centroid with a geography literal.

public SpatialCentroid(Geography geography)

Parameters

geography Geography

The geography to compute the centroid for.

SpatialCentroid(Function)

Initializes a new instance of ST_Centroid for a function result (e.g., from another spatial operation).

public SpatialCentroid(Function function)

Parameters

function Function

The function that returns a geometry/geography to compute the centroid for.