/**
 * Object for a track profile management.
 */

function Profile_getWalkLength() {
	if(this.data)
		return this.data.length;
	else
		return 0;
}

function Profile(allprofile) {
	this.minZ=allprofile[0];
	this.maxZ=allprofile[1];
	this.data=allprofile[2];
}

Profile.prototype.getWalkLength=Profile_getWalkLength;

Profile.Height=350;