Documentation

Vector
in package

A simple 2D-Vector class

Table of Contents

Properties

$x  : float
$y  : float

Methods

__construct()  : mixed
getX()  : float
getY()  : float
multiplyWithMatrix()  : Vector

Properties

Methods

__construct()

public __construct([int|float $x = 0.0 ][, int|float $y = 0.0 ]) : mixed
Parameters
$x : int|float = 0.0
$y : int|float = 0.0

getX()

public getX() : float
Return values
float

getY()

public getY() : float
Return values
float

        
On this page

Search results