public function getCentroid(bool $use_spheriod = false): Point {
        $event = new AccessorOpEvent($this, ['use_spheriod' => $use_spheriod]);
        $this->fireOperationEvent(AccessorOpEvent::CENTROID_EVENT, $event);
        return $event->getResults();
    }
public function getCentroid(bool $use_spheriod = false): Point {
        $event = new AccessorOpEvent($this, ['use_spheriod' => $use_spheriod]);
        $this->fireOperationEvent(AccessorOpEvent::CENTROID_EVENT, $event);
        return $event->getResults();
    }
public function getCentroid ( bool $ use_spheriod = false ) : Point { $ event = new AccessorOpEvent ( $ this , [ 'use_spheriod' => $ use_spheriod ] ) ; $ this -> fireOperationEvent ( AccessorOpEvent :: CENTROID_EVENT , $ event ) ; return $ event -> getResults ( ) ; }
The mathematical centroid for this Surface as a Point. The result is not
guaranteed to be on this Surface.

@param bool $use_spheriod
@return \Nasumilu\Geometry\Point
The mathematical centroid for this Surface as a Point . The result is not guaranteed to be on this Surface .