Table of Contents

Constructor SpatialDistance

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

SpatialDistance(Column, Geometry)

Initializes a new instance of ST_Distance with a column and a Geometry literal.

public SpatialDistance(Column column, Geometry geometry)

Parameters

column Column

The spatial column to calculate distance from.

geometry Geometry

The geometry to calculate distance to.

SpatialDistance(Column, Geography)

Initializes a new instance of ST_Distance with a column and a Geography literal.

public SpatialDistance(Column column, Geography geography)

Parameters

column Column

The spatial column to calculate distance from.

geography Geography

The geography to calculate distance to.

SpatialDistance(Geometry, Column)

Initializes a new instance of ST_Distance with a Geometry literal and a column.

public SpatialDistance(Geometry geometry, Column column)

Parameters

geometry Geometry

The geometry to calculate distance from.

column Column

The spatial column to calculate distance to.

SpatialDistance(Geography, Column)

Initializes a new instance of ST_Distance with a Geography literal and a column.

public SpatialDistance(Geography geography, Column column)

Parameters

geography Geography

The geography to calculate distance from.

column Column

The spatial column to calculate distance to.

SpatialDistance(Column, Geography, UnitOfMeasure)

Initializes a new instance of ST_Distance with a column, Geography, and unit of measure.

public SpatialDistance(Column column, Geography geography, UnitOfMeasure unitOfMeasure)

Parameters

column Column

The spatial column to calculate distance from.

geography Geography

The geography to calculate distance to.

unitOfMeasure UnitOfMeasure

The unit of measure for the distance result.

SpatialDistance(Geography, Column, UnitOfMeasure)

Initializes a new instance of ST_Distance with a Geography, column, and unit of measure.

public SpatialDistance(Geography geography, Column column, UnitOfMeasure unitOfMeasure)

Parameters

geography Geography

The geography to calculate distance from.

column Column

The spatial column to calculate distance to.

unitOfMeasure UnitOfMeasure

The unit of measure for the distance result.