acl-js/src-js/track_desc.js
// Returns true if this instance contains valid data, false otherwise.
Returns true if this instance contains valid data, false otherwise.
Returns true if this instance contains valid data false otherwise .
isValid() {
    if (!Number.isInteger(this._outputIndex) || this._outputIndex < 0 || this._outputIndex >= 65535) {
      return false
    }
    if (!Number.isInteger(this._outputIndex) || this._parentIndex < -1 || this._parentIndex >= 65535) {
      return false
    }
    if (!Number.isFinite(this._precision) || this._precision < 0.0 || this._precision >= 100.0) {
      return false
    }
    if (!Number.isFinite(this._shellDistance) || this._shellDistance < 0.0 || this._shellDistance >= 10000.0) {
      return false
    }
    if (!Number.isFinite(this._constantRotationThresholdAngle) || this._constantRotationThresholdAngle < 0.0 || this._constantRotationThresholdAngle >= 100.0) {
      return false
    }
    if (!Number.isFinite(this._constantTranslationThreshold) || this._constantTranslationThreshold < 0.0 || this._constantTranslationThreshold >= 100.0) {
      return false
    }
    if (!Number.isFinite(this._constantScaleThreshold) || this._constantScaleThreshold < 0.0 || this._constantScaleThreshold >= 100.0) {
      return false
    }
    return true
  }
isValid ( ) { if ( ! Number . isInteger ( this . _outputIndex ) || this . _outputIndex < 0 || this . _outputIndex >= 65535 ) { return false } if ( ! Number . isInteger ( this . _outputIndex ) || this . _parentIndex < - 1 || this . _parentIndex >= 65535 ) { return false } if ( ! Number . isFinite ( this . _precision ) || this . _precision < 0.0 || this . _precision >= 100.0 ) { return false } if ( ! Number . isFinite ( this . _shellDistance ) || this . _shellDistance < 0.0 || this . _shellDistance >= 10000.0 ) { return false } if ( ! Number . isFinite ( this . _constantRotationThresholdAngle ) || this . _constantRotationThresholdAngle < 0.0 || this . _constantRotationThresholdAngle >= 100.0 ) { return false } if ( ! Number . isFinite ( this . _constantTranslationThreshold ) || this . _constantTranslationThreshold < 0.0 || this . _constantTranslationThreshold >= 100.0 ) { return false } if ( ! Number . isFinite ( this . _constantScaleThreshold ) || this . _constantScaleThreshold < 0.0 || this . _constantScaleThreshold >= 100.0 ) { return false } return true }
Returns true if this instance contains valid data, false otherwise.
Returns true if this instance contains valid data false otherwise .