Maven module :un.api : api-image :
Class : un.impl.image.process.detection.Direction
Extends/Implements : -
Subclasses : -

A direction in the plane. As a convenience, directions provide unit vector
components (manhattan metric) for both the conventional plane and screen
coordinates (y axis reversed).
Origin ;
http://www.tomgibara.com/computer-vision/Direction.java
author  Tom Gibara (Original author)
author  Johann Sorel (Adapted to Unlicense-Lib)


Variables : E, NE, N, NW, W, SW, S, SE, planeX, planeY, screenX, screenY, length
Functions : -


public Direction E

public Direction NE

public Direction N

public Direction NW

public Direction W

public Direction SW

public Direction S

public Direction SE


The horizontal distance moved in this direction within the plane.
public int planeX


The vertical distance moved in this direction within the plane.
public int planeY


The horizontal distance moved in this direction in screen coordinates.
public int screenX


The vertical distance moved in this direction in screen coordinates.
public int screenY


The euclidean length of this direction's vectors.
public double length