Copied!

Distance interface

AbstractInterface
Methods
public abstract getFrom()
 

Get the origin coordinate

  • return \CoordinateInterface
public abstract getTo()
 

Get the destination coordinate

  • return \CoordinateInterface
public abstract in( $unit)
 

Set the user unit

  • param string $unit Set the unit
  • return \DistanceInterface
public abstract setFrom(League\Geotools\Coordinate\CoordinateInterface $from)
 

Set the origin coordinate

  • param \CoordinateInterface $from The origin coordinate
  • return \DistanceInterface
public abstract setTo(League\Geotools\Coordinate\CoordinateInterface $to)
 

Set the destination coordinate

  • param \CoordinateInterface $to The destination coordinate
  • return \DistanceInterface
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration