/** @brief Create a basic Location Based 3D Model. * @param String $id Id of the AREL Object * @param String $title Title of the AREL Object to be displayed in the popup (if added) as well as list and map * @param String $model Path to the model of the Object or to the zip package holding all the information * @param String $texture Path to the texture of the Object (jpg or png file) * @param Array $location An array given all location parameters (latitude, longitude and altitude) * @param Array $scale An array providing scale values along three axis (x, y, z) * @param ArelRotation $rotation Provides the rotation information. Can be defined as euler (rad / deg), quaternion, axisangle or matrix * @param String $icon provides an icon how the model will be displayed on a map (optional) */ public static function createLocationBasedModel3D($id, $title, $model, $texture, $location, $scale, $rotation, $icon = NULL) { $obj = new ArelObjectModel3D($id); $obj->setTitle($title); $obj->setModel($model); $obj->setTexture($texture); $obj->setScale($scale); $obj->setRotation($rotation); $obj->setLocation($location); $obj->setIcon($icon); return $obj; }