Curve
in package
implements
OperationInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $x1 : float
- $x2 : float
- $x3 : float
- $y1 : float
- $y2 : float
- $y3 : float
- __construct() : mixed
- getX1() : float
- getX2() : float
- getX3() : float
- getY1() : float
- getY2() : float
- getY3() : float
- translate() : self
- Translates the operation's coordinates.
Properties
$x1
private
float
$x1
$x2
private
float
$x2
$x3
private
float
$x3
$y1
private
float
$y1
$y2
private
float
$y2
$y3
private
float
$y3
Methods
__construct()
public
__construct(float $x1, float $y1, float $x2, float $y2, float $x3, float $y3) : mixed
Parameters
- $x1 : float
- $y1 : float
- $x2 : float
- $y2 : float
- $x3 : float
- $y3 : float
Return values
mixed —getX1()
public
getX1() : float
Return values
float —getX2()
public
getX2() : float
Return values
float —getX3()
public
getX3() : float
Return values
float —getY1()
public
getY1() : float
Return values
float —getY2()
public
getY2() : float
Return values
float —getY3()
public
getY3() : float
Return values
float —translate()
Translates the operation's coordinates.
public
translate(float $x, float $y) : self
Parameters
- $x : float
- $y : float