public function asText() : string
    {
        static $wktWriter;

        if ($wktWriter === null) {
            $wktWriter = new WKTWriter();
        }

        return $wktWriter->write($this);
    }
public function asText() : string
    {
        static $wktWriter;

        if ($wktWriter === null) {
            $wktWriter = new WKTWriter();
        }

        return $wktWriter->write($this);
    }
public function asText ( ) : string { static $ wktWriter ; if ( $ wktWriter === null ) { $ wktWriter = new WKTWriter ( ) ; } return $ wktWriter -> write ( $ this ) ; }
Returns the WKT representation of this geometry.

@noproxy

@return string
Returns the WKT representation of this geometry .