public function readPoint()
    {
        try {
            return new QtiPoint($this->readShort(), $this->readShort());
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading a point.";
            throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::POINT, $e);
        }
    }
public function readPoint()
    {
        try {
            return new QtiPoint($this->readShort(), $this->readShort());
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading a point.";
            throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::POINT, $e);
        }
    }
public function readPoint ( ) { try { return new QtiPoint ( $ this -> readShort ( ) , $ this -> readShort ( ) ) ; } catch ( BinaryStreamAccessException $ e ) { $ msg = "An error occured while reading a point." ; throw new QtiBinaryStreamAccessException ( $ msg , $ this , QtiBinaryStreamAccessException :: POINT , $ e ) ; } }
Read a Point from the current binary stream.

@throws \qtism\runtime\storage\binary\QtiBinaryStreamAccessException
@return \qtism\common\datatypes\Point A Point object.
Read a Point from the current binary stream .