Skip to content
Select language:English

MCL 1.3.5

fun toLocal2f(coord: Coord2D): Vec2f

Converts the given point to a Vec2f object.

Return

A Vec2f object representing the same geographical location.

Parameters

coord

The point to convert.


abstract fun toLocal2f(longitude: Double, latitude: Double): Vec2f

Converts the given point to a Vec2d object.

Return

A Vec2d object representing the same geographical location.

Parameters

longitude

The longitude of the point.

latitude

The latitude of the point.