/// <summary> /// Creates a IavaBodyPart containing the specified JointType /// </summary> /// <param name="jointID">The JointType of the IavaBodyPart</param> public IavaBodyPart(IavaJointType jointID) : this(jointID, new IavaSkeletonPoint()) { // Nothing to do }
/// <summary> /// Creates a IavaBodyPart containing the specified JointType and position /// </summary> /// <param name="jointID">The JointType of the IavaBodyPart</param> /// <param name="position">Position of the IavaBodyPart</param> public IavaBodyPart(IavaJointType jointID, IavaSkeletonPoint position) { this.JointID = jointID; this.Position = position; }
/// <summary> /// Gets the specified element of the collection /// </summary> /// <param name="i">The joint identifier</param> /// <returns></returns> public IavaJoint this[IavaJointType i] { get { return _joints[(int)i]; } set { _joints[(int)i] = value; } }