scripts/modelCreation.js
/**
 * Determine whether or not a valid KMZ Model has been provided
 * @param {KmlObject} kmlObject An object presumably containing a model that can be displayed
 * @return {boolean} Whether or not kmlObject was determined to be a valid object for displaying a model with
 */
Determine whether or not a valid KMZ Model has been provided
@param {KmlObject} kmlObject An object presumably containing a model that can be displayed
@return {boolean} Whether or not kmlObject was determined to be a valid object for displaying a model with
Determine whether or not a valid KMZ Model has been provided @param { KmlObject } kmlObject An object presumably containing a model that can be displayed @return { boolean } Whether or not kmlObject was determined to be a valid object for displaying a model with
function validKmlObject(kmlObject) {
	var validKmlObject = true;
	if(doesKmlObjectHaveValues(kmlObject) == false) {
		validKmlObject = false;
	}
	else {	
		if(isKmlObjectAModel(kmlObject) == false)
			validKmlObject = false;	
	}
	return validKmlObject;
}
function validKmlObject ( kmlObject ) { var validKmlObject = true ; if ( doesKmlObjectHaveValues ( kmlObject ) == false ) { validKmlObject = false ; } else { if ( isKmlObjectAModel ( kmlObject ) == false ) validKmlObject = false ; } return validKmlObject ; }
Determine whether or not a valid KMZ Model has been provided
 @param {KmlObject} kmlObject An object presumably containing a model that can be displayed
 @return {boolean} Whether or not kmlObject was determined to be a valid object for displaying a model with
Determine whether or not a valid KMZ Model has been provided @param { KmlObject } kmlObject An object presumably containing a model that can be displayed @return { boolean } Whether or not kmlObject was determined to be a valid object for displaying a model with