Samsara\Fermat\Coordinates\Types > Coordinate
No description available
Inheritance
Implements
CoordinateInterface
CoordinateInterface
- namespace
- Samsara\Fermat\Coordinates\Types\Base\Interfaces\Coordinates
- description
No description available
Methods
Constructor
public Coordinate->__construct(array $data)
__construct
$data
- type
- array
- description
- No description available
return
- type
- mixed (assumed)
- description
- No description available
Instanced Methods
public Coordinate->getAxis($axis)
getAxis
$axis
- description
- No description available
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Coordinate->axesValues()
axesValues
return
- type
- array
- description
- No description available
public Coordinate->numberOfDimensions()
numberOfDimensions
return
- type
- int
- description
- No description available
public Coordinate->asCartesian()
asCartesian
return
- type
- Samsara\Fermat\Coordinates\Values\CartesianCoordinate
- description
- No description available
public Coordinate->distanceTo(Samsara\Fermat\Coordinates\Types\Base\Interfaces\Coordinates\CoordinateInterface $coordinate)
distanceTo
$coordinate
- type
- Samsara\Fermat\Coordinates\Types\Base\Interfaces\Coordinates\CoordinateInterface
- description
- No description available
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public Coordinate->getDistanceFromOrigin()
getDistanceFromOrigin
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
Inherited Methods
public CoordinateInterface->getPolarAngle()
getPolarAngle
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available