Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
qtype_ddmarker_point Class Reference

Class to represent a point. More...

Public Member Functions

 __construct ($x, $y)
 
 dist ($other)
 Return the distance between this point and another.
 

Public Attributes

int $x
 X location.
 
int $y
 Y location.
 

Detailed Description

Class to represent a point.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

The documentation for this class was generated from the following file: