Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: