コード例 #1
0
 ///<summary>
 ///describes the orientation of the entity, in euler angles
 ///</summary>
 public void setEntityOrientation(Orientation pEntityOrientation)
 {
     _entityOrientation = pEntityOrientation;
 }
コード例 #2
0
 ///<summary>
 ///orientation of minefield
 ///</summary>
 public void setMinefieldOrientation(Orientation pMinefieldOrientation)
 {
     _minefieldOrientation = pMinefieldOrientation;
 }
コード例 #3
0
 ///<summary>
 ///Object orientation
 ///</summary>
 public void setObjectOrientation(Orientation pObjectOrientation)
 {
     _objectOrientation = pObjectOrientation;
 }
コード例 #4
0
 ///<summary>
 ///orientation of the data grid
 ///</summary>
 public void setOrientation(Orientation pOrientation)
 {
     _orientation = pOrientation;
 }
コード例 #5
0
        /**
          * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful.
          */
        public bool equals(Orientation rhs)
        {
            bool ivarsEqual = true;

            if(rhs.GetType() != this.GetType())
            return false;

             if( ! (_psi == rhs._psi)) ivarsEqual = false;
             if( ! (_theta == rhs._theta)) ivarsEqual = false;
             if( ! (_phi == rhs._phi)) ivarsEqual = false;

            return ivarsEqual;
        }
コード例 #6
0
 ///<summary>
 ///The rotation that transformst he reference coordinate sytem     into the beam coordinate system. Either world coordinates or entity coordinates may be used as the     reference coordinate system, as specified by teh reference system field of the antenna pattern record.
 ///</summary>
 public void setBeamDirection(Orientation pBeamDirection)
 {
     _beamDirection = pBeamDirection;
 }
コード例 #7
0
 ///<summary>
 ///orientation
 ///</summary>
 public void setOrientation(Orientation pOrientation)
 {
     _orientation = pOrientation;
 }
コード例 #8
0
 ///<summary>
 ///The rotation that transformst he reference coordinate sytem     into the beam coordinate system. Either world coordinates or entity coordinates may be used as the     reference coordinate system, as specified by teh reference system field of the antenna pattern record.
 ///</summary>
 public void setBeamDirection(Orientation pBeamDirection)
 {
     _beamDirection = pBeamDirection;
 }