Skip to main content

Auki::Ark::IPositioner

Converts points from normalized coordinates to coordinates of a specific quadrilateral defined by the coordinates of its 4 corners.

Inherited by Auki.Ark.HarmonicPositioner

Public Functions

Name
Vector2TL_TR_positioner(float pct)
Converts normalized value to coordinates along the top left corner to top right corner edge (points A and B).
Vector2BL_BR_positioner(float pct)
Converts normalized value to coordinates along the bottom left corner to bottom right corner edge (points D and C).
Vector2TL_BL_positioner(float pct)
Converts normalized value to coordinates along the top left corner to bottom left corner edge (points A and D).
Vector2TR_BR_positioner(float pct)
Converts normalized value to coordinates along the top right corner to bottom right corner edge (points B and C).

Public Properties

Name
Vector2Oh
Coordinate of the focal point where the top and bottom edges intersect in 2D.
Vector2Ov
Coordinate of the focal point where the left and right edges intersect in 2D.
Vector2A
Coordinates of top left corner.
Vector2B
Coordinates of top right corner.
Vector2C
Coordinates of bottom right corner.
Vector2D
Coordinates of bottom left corner.

Public Functions Documentation

function TL_TR_positioner

Vector2 TL_TR_positioner(
float pct
)

Converts normalized value to coordinates along the top left corner to top right corner edge (points A and B).

Parameters:

  • pct Percent along A-B edge

Return: Coordinates of point in the quadrilateral's coordinate system

Reimplemented by: Auki::Ark::HarmonicPositioner::TL_TR_positioner

function BL_BR_positioner

Vector2 BL_BR_positioner(
float pct
)

Converts normalized value to coordinates along the bottom left corner to bottom right corner edge (points D and C).

Parameters:

  • pct Percent along D-C edge

Return: Coordinates of point in the quadrilateral's coordinate system

Reimplemented by: Auki::Ark::HarmonicPositioner::BL_BR_positioner

function TL_BL_positioner

Vector2 TL_BL_positioner(
float pct
)

Converts normalized value to coordinates along the top left corner to bottom left corner edge (points A and D).

Parameters:

  • pct Percent along A-D edge

Return: Coordinates of point in the quadrilateral's coordinate system

Reimplemented by: Auki::Ark::HarmonicPositioner::TL_BL_positioner

function TR_BR_positioner

Vector2 TR_BR_positioner(
float pct
)

Converts normalized value to coordinates along the top right corner to bottom right corner edge (points B and C).

Parameters:

  • pct Percent along B-C edge

Return: Coordinates of point in the quadrilateral's coordinate system

Reimplemented by: Auki::Ark::HarmonicPositioner::TR_BR_positioner

Public Property Documentation

property Oh

Vector2 Oh;

Coordinate of the focal point where the top and bottom edges intersect in 2D.

Reimplemented by: Auki::Ark::HarmonicPositioner::Oh

property Ov

Vector2 Ov;

Coordinate of the focal point where the left and right edges intersect in 2D.

Reimplemented by: Auki::Ark::HarmonicPositioner::Ov

property A

Vector2 A;

Coordinates of top left corner.

Reimplemented by: Auki::Ark::HarmonicPositioner::A

property B

Vector2 B;

Coordinates of top right corner.

Reimplemented by: Auki::Ark::HarmonicPositioner::B

property C

Vector2 C;

Coordinates of bottom right corner.

Reimplemented by: Auki::Ark::HarmonicPositioner::C

property D

Vector2 D;

Coordinates of bottom left corner.

Reimplemented by: Auki::Ark::HarmonicPositioner::D