Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: