Table of Contents

Constructor SpatialLength

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

SpatialLength(Column)

Initializes a new instance of ST_Length with a geometry column.

public SpatialLength(Column column)

Parameters

column Column

The geometry column to calculate length for.

SpatialLength(Column, UnitOfMeasure)

Initializes a new instance of ST_Length with a geography column and unit of measure.

public SpatialLength(Column column, UnitOfMeasure unitOfMeasure)

Parameters

column Column

The geography column to calculate length for.

unitOfMeasure UnitOfMeasure

The unit of measure for the length result (e.g., meters, kilometers, miles).

SpatialLength(Geometry)

Initializes a new instance of ST_Length with a geometry literal.

public SpatialLength(Geometry geometry)

Parameters

geometry Geometry

The geometry to calculate length for.

SpatialLength(Geography, UnitOfMeasure)

Initializes a new instance of ST_Length with a geography literal and unit of measure.

public SpatialLength(Geography geography, UnitOfMeasure unitOfMeasure)

Parameters

geography Geography

The geography to calculate length for.

unitOfMeasure UnitOfMeasure

The unit of measure for the length result.

SpatialLength(Function)

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

public SpatialLength(Function function)

Parameters

function Function

The function that returns a geometry/geography to calculate length for.

SpatialLength(Function, UnitOfMeasure)

Initializes a new instance of ST_Length for a function result with a unit of measure.

public SpatialLength(Function function, UnitOfMeasure unitOfMeasure)

Parameters

function Function

The function that returns a geography to calculate length for.

unitOfMeasure UnitOfMeasure

The unit of measure for the length result.