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
columnColumnThe spatial column to calculate distance from.
geometryGeometryThe 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
columnColumnThe spatial column to calculate distance from.
geographyGeographyThe 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
geometryGeometryThe geometry to calculate distance from.
columnColumnThe 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
geographyGeographyThe geography to calculate distance from.
columnColumnThe 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
columnColumnThe spatial column to calculate distance from.
geographyGeographyThe geography to calculate distance to.
unitOfMeasureUnitOfMeasureThe 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
geographyGeographyThe geography to calculate distance from.
columnColumnThe spatial column to calculate distance to.
unitOfMeasureUnitOfMeasureThe unit of measure for the distance result.