Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
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: