Point

Point

Point in the geometry.

Constructor

new Point()

Source:

Constructor. Same remark as for isometries.

Methods

(abstract) applyIsometry(isom) → {Point}

Source:

Translate the current point by the given isometry.

Parameters:
Name Type Description
isom Isometry

the isometry to apply

Returns:

The current point

Type
Point

applyIsometry(isom) → {Point}

Source:

For the explanation how the isometry acts, see the Jupyter notebook

Parameters:
Name Type Description
isom Isometry

the isometry to apply

Returns:

the current point

Type
Point

(abstract) build()

Source:

Fake constructor. If no argument is passed, return the origin of the space.

(abstract) clone() → {Point}

Source:

Return a new copy of the current point.

Returns:

the clone of the current point

Type
Point

(abstract) copy(point) → {Point}

Source:

set the current point with the given point

Parameters:
Name Type Description
point Point

the point to copy

Returns:

The current point

Type
Point

(abstract) equals(point) → {boolean}

Source:

Check if the current point and point are the same. Mainly for debugging purposes.

Parameters:
Name Type Description
point Point
Returns:

true if the points are equal, false otherwise

Type
boolean

(abstract) reduceError() → {Point}

Source:

Reduce possible errors

Returns:

The current point

Type
Point

reduceError()

Source:
To Do:
  • Complete the work so that the fiber match the matrix?

set()

Source:

Set the coordinates of the point

toKlein() → {Vector4}

Source:

Return the current point as an element (x,y,1,w) of H^2 x R, where

  • (x,y,1) are th coordinates of a point of H^2 with the Klein model
  • w is the fiber component
Returns:
Type
Vector4

toVector4() → {Vector4}

Source:

Return the current point as an element (x,y,z,w) of H^2 x R, where

  • (x,y,z) are th coordinates of a point of H^2 with the hyperboloid model
  • w is the fiber component
Returns:
Type
Vector4