ITransform2D

Description

interface Tinman.Terrain.Util.ITransform2D

Extended by

ITransform3D

Base interface for classes that provide a transformation between two-dimensional coordinate systems.

Public / Methods

Transform­Coordinates


[Pure]
public method TransformCoordinates → (2)

in : float64

The source X-coordinate.

in : float64

The source Y-coordinate.

returns → Vec2D

The target coordinates.

Transforms the given coordinates.

Transform­Coordinates­Wrap


[Pure]
public method TransformCoordinatesWrap → (3)

in : float64

The source X-coordinate.

in : float64

The source Y-coordinate.

bounds in : Box2D

The axis-aligned bounding box in source coordinates.

returns → Vec2D

The target coordinates.

Transforms the given coordinates while taking care of longitude wrap-around within the given bounds in.

Extensions

Transform­Coordinates


[Pure]
public static method TransformCoordinates → (1)

in : Vec2D

The source coordinates.

returns → Vec2D

The target coordinates.

Transforms the given coordinates.