Skip to content

Samsara\Fermat\Coordinates\Values > SphericalCoordinate

No description available

Inheritance

Extends

  • Samsara\Fermat\Coordinates\Types\Coordinate

Implements

CoordinateInterface

CoordinateInterface
namespace
Samsara\Fermat\Coordinates\Types\Base\Interfaces\Coordinates
description

No description available

ThreeDCoordinateInterface

ThreeDCoordinateInterface
namespace
Samsara\Fermat\Coordinates\Types\Base\Interfaces\Coordinates
description

No description available

Methods

Constructor

public SphericalCoordinate->__construct($rho, $theta, $phi)

__construct

$rho

description
No description available

$theta

description
No description available

$phi

description
No description available

return

type
mixed (assumed)
description
No description available

Instanced Methods

public SphericalCoordinate->getDistanceFromOrigin()

getDistanceFromOrigin

return

type
Samsara\Fermat\Core\Values\ImmutableDecimal
description
No description available

public SphericalCoordinate->getPlanarAngle()

getPlanarAngle

return

type
Samsara\Fermat\Core\Values\ImmutableDecimal
description
No description available

public SphericalCoordinate->getPolarAngle()

getPolarAngle

return

type
Samsara\Fermat\Core\Values\ImmutableDecimal
description
No description available

public SphericalCoordinate->asCartesian()

asCartesian

return

type
Samsara\Fermat\Coordinates\Values\CartesianCoordinate
description
No description available

public SphericalCoordinate->asCylindrical()

asCylindrical

return

type
Samsara\Fermat\Coordinates\Values\CylindricalCoordinate
description
No description available

public SphericalCoordinate->asSpherical()

asSpherical

return

type
Samsara\Fermat\Coordinates\Values\SphericalCoordinate
description
No description available

public SphericalCoordinate->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

Inherited 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