function Joint() { //this.groups = [];//tabliza z nazwami grup //this._properties = {};//obiekt z propertisami //this._context = ""; } Joint.prototype = new Model(); Joint.prototype.getType = function() { return parseInt(this._properties["sh"]["VALUE"]); } Joint.prototype.getP1 = function() { return parseInt(this._properties["p1"]["VALUE"]); } Joint.prototype.getP2 = function() { return parseInt(this._properties["p2"]["VALUE"]); } Joint.prototype.getR = function(){ return parseFloat(this._properties["vr"]["VALUE"]); } Joint.prototype.getG = function(){ return parseFloat(this._properties["vg"]["VALUE"]); } Joint.prototype.getB = function(){ return parseFloat(this._properties["vb"]["VALUE"]); } Joint.prototype.getXrot = function() { return parseFloat(this._properties["rx"]["VALUE"]); } Joint.prototype.getYrot = function() { return parseFloat(this._properties["ry"]["VALUE"]); } Joint.prototype.getZrot = function() { return parseFloat(this._properties["rz"]["VALUE"]); } Joint.prototype.getXtran = function() { return parseFloat(this._properties["dx"]["VALUE"]); } Joint.prototype.getYtran = function() { return parseFloat(this._properties["dy"]["VALUE"]); } Joint.prototype.getZtran = function() { return parseFloat(this._properties["dz"]["VALUE"]); }