コード例 #1
0
ファイル: Point3d.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Constructs and initializes a Point3d from the specified Tuple3f. </summary>
 /// <param name="t1">the Tuple3f containing the initialization x y z data
 /// </param>
 public Point3d(Tuple3f t1) : base(t1)
 {
 }
コード例 #2
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the value of the Tuple3f argument.</summary>
		/// <param name="t1">the tuple to be copied
		/// </param>
		public void  set_Renamed(Tuple3f t1)
		{
			x = t1.x;
			y = t1.y;
			z = t1.z;
		}
コード例 #3
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Gets the value of this tuple and copies the values into the Tuple3f.</summary>
 /// <param name="t">Tuple3f object into which that values of this object are copied
 /// </param>
 public void  get_Renamed(Tuple3f t)
 {
     t.x = x;
     t.y = y;
     t.z = z;
 }
コード例 #4
0
 /// <summary> Sets the x,y,z components of this point to the corresponding
 /// components of tuple t1. The w component of this point is set to 1.
 ///
 /// </summary>
 /// <param name="t1">the tuple to be copied
 /// </param>
 /// <since> Java3D 1.2
 /// </since>
 public void  set_Renamed(Tuple3f t1)
 {
     set_Renamed(t1.x, t1.y, t1.z, 1);
 }
コード例 #5
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Returns a hash number based on the data values in this object. 
		/// Two different Tuple3f objects with identical data  values
		/// (ie, returns true for equals(Tuple3f) ) will return the same hash number.
		/// Two vectors with different data members may return the same hash value,
		/// although this is not likely.
		/// </summary>
        //public override int GetHashCode()
        //{
        //    //UPGRADE_ISSUE: Method 'java.lang.Float.floatToIntBits' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javalangFloatfloatToIntBits_float'"
        //    int xbits = Float.floatToIntBits(x);
        //    //UPGRADE_ISSUE: Method 'java.lang.Float.floatToIntBits' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javalangFloatfloatToIntBits_float'"
        //    int ybits = Float.floatToIntBits(y);
        //    //UPGRADE_ISSUE: Method 'java.lang.Float.floatToIntBits' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javalangFloatfloatToIntBits_float'"
        //    int zbits = Float.floatToIntBits(z);
        //    return xbits ^ ybits ^ zbits;
        //}
		
		/// <summary> Returns true if all of the data members of Tuple3f t1 are equal to the corresponding
		/// data members in this
		/// </summary>
		/// <param name="t1">the vector with which the comparison is made.
		/// </param>
		public bool equals(Tuple3f t1)
		{
			return t1 != null && x == t1.x && y == t1.y && z == t1.z;
		}
コード例 #6
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Clamps the maximum value of the tuple parameter to the max parameter and
		/// places the values into this tuple.
		/// </summary>
		/// <param name="max">the highest value in the tuple after clamping
		/// </param>
		/// <param name="t">the source tuple, which will not be modified
		/// </param>
		public void  clampMax(float max, Tuple3f t)
		{
			set_Renamed(t);
			clampMax(max);
		}
コード例 #7
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the scalar multiplication of tuple t1.</summary>
 /// <param name="s">the scalar value
 /// </param>
 /// <param name="t1">the source tuple
 /// </param>
 public void  scale(float s, Tuple3f t1)
 {
     x = s * t1.x;
     y = s * t1.y;
     z = s * t1.z;
 }
コード例 #8
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the negation of tuple t1. </summary>
		/// <param name="t1">the source vector
		/// </param>
		public void  negate(Tuple3f t1)
		{
			x = - t1.x;
			y = - t1.y;
			z = - t1.z;
		}
コード例 #9
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1).</summary>
 /// <param name="t1">the other tuple
 /// </param>
 public void  sub(Tuple3f t1)
 {
     x -= t1.x;
     y -= t1.y;
     z -= t1.z;
 }
コード例 #10
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the negation of tuple t1. </summary>
 /// <param name="t1">the source vector
 /// </param>
 public void  negate(Tuple3f t1)
 {
     x = -t1.x;
     y = -t1.y;
     z = -t1.z;
 }
コード例 #11
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the vector difference of tuple t1 and t2 (this = t1 - t2).</summary>
 /// <param name="t1">the first tuple
 /// </param>
 /// <param name="t2">the second tuple
 /// </param>
 public void  sub(Tuple3f t1, Tuple3f t2)
 {
     x = t1.x - t2.x;
     y = t1.y - t2.y;
     z = t1.z - t2.z;
 }
コード例 #12
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the vector sum of itself and tuple t1.</summary>
 /// <param name="t1"> the other tuple
 /// </param>
 public void  add(Tuple3f t1)
 {
     x += t1.x;
     y += t1.y;
     z += t1.z;
 }
コード例 #13
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the vector sum of tuples t1 and t2.</summary>
 /// <param name="t1">the first tuple
 /// </param>
 /// <param name="t2">the second tuple
 /// </param>
 public void  add(Tuple3f t1, Tuple3f t2)
 {
     x = t1.x + t2.x;
     y = t1.y + t2.y;
     z = t1.z + t2.z;
 }
コード例 #14
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the vector sum of tuples t1 and t2.</summary>
		/// <param name="t1">the first tuple
		/// </param>
		/// <param name="t2">the second tuple
		/// </param>
		public void  add(Tuple3f t1, Tuple3f t2)
		{
			x = t1.x + t2.x;
			y = t1.y + t2.y;
			z = t1.z + t2.z;
		}
コード例 #15
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the scalar multiplication of tuple t1 and then
 /// adds tuple t2 (this = s*t1 + t2).
 /// </summary>
 /// <param name="s">the scalar value
 /// </param>
 /// <param name="t1">the tuple to be multipled
 /// </param>
 /// <param name="t2">the tuple to be added
 /// </param>
 public void  scaleAdd(float s, Tuple3f t1, Tuple3f t2)
 {
     x = s * t1.x + t2.x;
     y = s * t1.y + t2.y;
     z = s * t1.z + t2.z;
 }
コード例 #16
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the vector difference of tuple t1 and t2 (this = t1 - t2).</summary>
		/// <param name="t1">the first tuple
		/// </param>
		/// <param name="t2">the second tuple
		/// </param>
		public void  sub(Tuple3f t1, Tuple3f t2)
		{
			x = t1.x - t2.x;
			y = t1.y - t2.y;
			z = t1.z - t2.z;
		}
コード例 #17
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets the value of this tuple to the scalar multiplication of itself and then
 /// adds tuple t1 (this = s*this + t1).
 /// </summary>
 /// <param name="s">the scalar value
 /// </param>
 /// <param name="t1">the tuple to be added
 /// </param>
 public void  scaleAdd(float s, Tuple3f t1)
 {
     x = s * x + t1.x;
     y = s * y + t1.y;
     z = s * z + t1.z;
 }
コード例 #18
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the scalar multiplication of tuple t1 and then
		/// adds tuple t2 (this = s*t1 + t2).
		/// </summary>
		/// <param name="s">the scalar value
		/// </param>
		/// <param name="t1">the tuple to be multipled
		/// </param>
		/// <param name="t2">the tuple to be added
		/// </param>
		public void  scaleAdd(float s, Tuple3f t1, Tuple3f t2)
		{
			x = s * t1.x + t2.x;
			y = s * t1.y + t2.y;
			z = s * t1.z + t2.z;
		}
コード例 #19
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
        /// <summary> Returns a hash number based on the data values in this object.
        /// Two different Tuple3f objects with identical data  values
        /// (ie, returns true for equals(Tuple3f) ) will return the same hash number.
        /// Two vectors with different data members may return the same hash value,
        /// although this is not likely.
        /// </summary>
        //public override int GetHashCode()
        //{
        //    //UPGRADE_ISSUE: Method 'java.lang.Float.floatToIntBits' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javalangFloatfloatToIntBits_float'"
        //    int xbits = Float.floatToIntBits(x);
        //    //UPGRADE_ISSUE: Method 'java.lang.Float.floatToIntBits' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javalangFloatfloatToIntBits_float'"
        //    int ybits = Float.floatToIntBits(y);
        //    //UPGRADE_ISSUE: Method 'java.lang.Float.floatToIntBits' was not converted. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1000_javalangFloatfloatToIntBits_float'"
        //    int zbits = Float.floatToIntBits(z);
        //    return xbits ^ ybits ^ zbits;
        //}

        /// <summary> Returns true if all of the data members of Tuple3f t1 are equal to the corresponding
        /// data members in this
        /// </summary>
        /// <param name="t1">the vector with which the comparison is made.
        /// </param>
        public bool equals(Tuple3f t1)
        {
            return(t1 != null && x == t1.x && y == t1.y && z == t1.z);
        }
コード例 #20
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Clamps the tuple parameter to the range [low, high] and places the values
		/// into this tuple.
		/// </summary>
		/// <param name="min">the lowest value in the tuple after clamping
		/// </param>
		/// <param name="max">the highest value in the tuple after clamping
		/// </param>
		/// <param name="t">the source tuple, which will not be modified
		/// </param>
		public void  clamp(float min, float max, Tuple3f t)
		{
			set_Renamed(t);
			clamp(min, max);
		}
コード例 #21
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Returns true if the L-infinite distance between this tuple and tuple t1 is
 /// less than or equal to the epsilon parameter, otherwise returns false. The L-infinite
 /// distance is equal to MAX[abs(x1-x2), abs(y1-y2)].
 /// </summary>
 /// <param name="t1">the tuple to be compared to this tuple
 /// </param>
 /// <param name="epsilon">the threshold value
 /// </param>
 public virtual bool epsilonEquals(Tuple3f t1, float epsilon)
 {
     return((System.Math.Abs(t1.x - this.x) <= epsilon) && (System.Math.Abs(t1.y - this.y) <= epsilon) && (System.Math.Abs(t1.z - this.z) <= epsilon));
 }
コード例 #22
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Linearly interpolates between tuples t1 and t2 and places the
		/// result into this tuple: this = (1-alpha)*t1 + alpha*t2.
		/// </summary>
		/// <param name="t1">the first tuple
		/// </param>
		/// <param name="t2">the second tuple
		/// </param>
		/// <param name="alpha">the alpha interpolation parameter
		/// </param>
		public void  interpolate(Tuple3f t1, Tuple3f t2, float alpha)
		{
			set_Renamed(t1);
			interpolate(t2, alpha);
		}
コード例 #23
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Clamps the tuple parameter to the range [low, high] and places the values
 /// into this tuple.
 /// </summary>
 /// <param name="min">the lowest value in the tuple after clamping
 /// </param>
 /// <param name="max">the highest value in the tuple after clamping
 /// </param>
 /// <param name="t">the source tuple, which will not be modified
 /// </param>
 public void  clamp(float min, float max, Tuple3f t)
 {
     set_Renamed(t);
     clamp(min, max);
 }
コード例 #24
0
 /// <summary> Constructs and initializes a Point4d from the specified Tuple3f.
 /// The x,y,z  components of this point are set to the corresponding
 /// components
 /// of tuple t1. The w component of this point is set to 1.
 ///
 /// </summary>
 /// <param name="t1">the tuple to be copied
 /// </param>
 /// <since> Java3D 1.2
 /// </since>
 public Point4f(Tuple3f t1) : base(t1.x, t1.y, t1.z, 1)
 {
 }
コード例 #25
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Clamps the minimum value of the tuple parameter to the min parameter
 /// and places the values into this tuple.
 /// </summary>
 /// <param name="min">the lowest value in the tuple after clamping
 /// </param>
 /// <parm>  t the source tuple, which will not be modified </parm>
 public void  clampMin(float min, Tuple3f t)
 {
     set_Renamed(t);
     clampMin(min);
 }
コード例 #26
0
ファイル: Vector3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Constructs and initializes a Vector3f from the specified Tuple3f.</summary>
		/// <param name="t1">the Tuple3f containing the initialization x y z data
		/// </param>
		public Vector3f(Tuple3f t1):base(t1)
		{
		}
コード例 #27
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Clamps the maximum value of the tuple parameter to the max parameter and
 /// places the values into this tuple.
 /// </summary>
 /// <param name="max">the highest value in the tuple after clamping
 /// </param>
 /// <param name="t">the source tuple, which will not be modified
 /// </param>
 public void  clampMax(float max, Tuple3f t)
 {
     set_Renamed(t);
     clampMax(max);
 }
コード例 #28
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Constructs and initializes a Tuple3f from the specified Tuple3f.</summary>
		/// <param name="t1">the Tuple3f containing the initialization x y z data
		/// </param>
		public Tuple3f(Tuple3f t1)
		{
			x = t1.x;
			y = t1.y;
			z = t1.z;
		}
コード例 #29
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Sets each component of the tuple parameter to its absolute value and
 /// places the modified values into this tuple.
 /// </summary>
 /// <param name="t">the source tuple, which will not be modified
 /// </param>
 public void  absolute(Tuple3f t)
 {
     set_Renamed(t);
     absolute();
 }
コード例 #30
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Gets the value of this tuple and copies the values into the Tuple3f.</summary>
		/// <param name="t">Tuple3f object into which that values of this object are copied
		/// </param>
		public void  get_Renamed(Tuple3f t)
		{
			t.x = x;
			t.y = y;
			t.z = z;
		}
コード例 #31
0
ファイル: Tuple3f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Linearly interpolates between tuples t1 and t2 and places the
 /// result into this tuple: this = (1-alpha)*t1 + alpha*t2.
 /// </summary>
 /// <param name="t1">the first tuple
 /// </param>
 /// <param name="t2">the second tuple
 /// </param>
 /// <param name="alpha">the alpha interpolation parameter
 /// </param>
 public void  interpolate(Tuple3f t1, Tuple3f t2, float alpha)
 {
     set_Renamed(t1);
     interpolate(t2, alpha);
 }
コード例 #32
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the vector sum of itself and tuple t1.</summary>
		/// <param name="t1"> the other tuple
		/// </param>
		public void  add(Tuple3f t1)
		{
			x += t1.x;
			y += t1.y;
			z += t1.z;
		}
コード例 #33
0
ファイル: Point3d.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Constructs and initializes a Point3d from the specified Tuple3f. </summary>
		/// <param name="t1">the Tuple3f containing the initialization x y z data 
		/// </param>
		public Point3d(Tuple3f t1):base(t1)
		{
		}
コード例 #34
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the vector difference of itself and tuple t1 (this = this - t1).</summary>
		/// <param name="t1">the other tuple
		/// </param>
		public void  sub(Tuple3f t1)
		{
			x -= t1.x;
			y -= t1.y;
			z -= t1.z;
		}
コード例 #35
0
ファイル: Vector4f.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Constructs and initializes a Vector4f from the specified Tuple3f.
 /// The x,y,z  components of this point are set to the corresponding
 /// components
 /// of tuple t1. The w component of this point is set to 0.
 ///
 /// </summary>
 /// <param name="t1">the tuple to be copied
 /// </param>
 /// <since> Java3D 1.2
 /// </since>
 public Vector4f(Tuple3f t1) : base(t1.x, t1.y, t1.z, 0)
 {
 }
コード例 #36
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the scalar multiplication of tuple t1.</summary>
		/// <param name="s">the scalar value
		/// </param>
		/// <param name="t1">the source tuple
		/// </param>
		public void  scale(float s, Tuple3f t1)
		{
			x = s * t1.x;
			y = s * t1.y;
			z = s * t1.z;
		}
コード例 #37
0
 /// <summary> Constructs and initializes a Tuple3d from the specified Tuple3f.</summary>
 /// <param name="t1">the Tuple3f containing the initialization x y z data
 /// </param>
 public Tuple3d(Tuple3f t1)
 {
     x = t1.x;
     y = t1.y;
     z = t1.z;
 }
コード例 #38
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the value of this tuple to the scalar multiplication of itself and then
		/// adds tuple t1 (this = s*this + t1).
		/// </summary>
		/// <param name="s">the scalar value
		/// </param>
		/// <param name="t1">the tuple to be added
		/// </param>
		public void  scaleAdd(float s, Tuple3f t1)
		{
			x = s * x + t1.x;
			y = s * y + t1.y;
			z = s * z + t1.z;
		}
コード例 #39
0
 /// <summary> Sets the value of this tuple to the value of the Tuple3f argument.</summary>
 /// <param name="t1">the tuple to be copied
 /// </param>
 public void  set_Renamed(Tuple3f t1)
 {
     x = t1.x;
     y = t1.y;
     z = t1.z;
 }
コード例 #40
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Returns true if the L-infinite distance between this tuple and tuple t1 is
		/// less than or equal to the epsilon parameter, otherwise returns false. The L-infinite
		/// distance is equal to MAX[abs(x1-x2), abs(y1-y2)].
		/// </summary>
		/// <param name="t1">the tuple to be compared to this tuple
		/// </param>
		/// <param name="epsilon">the threshold value
		/// </param>
		public virtual bool epsilonEquals(Tuple3f t1, float epsilon)
		{
			return (System.Math.Abs(t1.x - this.x) <= epsilon) && (System.Math.Abs(t1.y - this.y) <= epsilon) && (System.Math.Abs(t1.z - this.z) <= epsilon);
		}
コード例 #41
0
ファイル: Vector3d.cs プロジェクト: carlhuth/GenXSource
 /// <summary> Constructs and initializes a Vector3d from the specified Tuple3f.</summary>
 /// <param name="t1">the Tuple3f containing the initialization x y z data
 /// </param>
 public Vector3d(Tuple3f t1) : base(t1)
 {
 }
コード例 #42
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Clamps the minimum value of the tuple parameter to the min parameter
		/// and places the values into this tuple.
		/// </summary>
		/// <param name="min">the lowest value in the tuple after clamping
		/// </param>
		/// <parm>  t the source tuple, which will not be modified </parm>
		public void  clampMin(float min, Tuple3f t)
		{
			set_Renamed(t);
			clampMin(min);
		}
コード例 #43
0
ファイル: Vector4f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Constructs and initializes a Vector4f from the specified Tuple3f.
		/// The x,y,z  components of this point are set to the corresponding
		/// components
		/// of tuple t1. The w component of this point is set to 0.
		/// 
		/// </summary>
		/// <param name="t1">the tuple to be copied
		/// </param>
		/// <since> Java3D 1.2
		/// </since>
		public Vector4f(Tuple3f t1):base(t1.x, t1.y, t1.z, 0)
		{
		}
コード例 #44
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets each component of the tuple parameter to its absolute value and
		/// places the modified values into this tuple.
		/// </summary>
		/// <param name="t">the source tuple, which will not be modified
		/// </param>
		public void  absolute(Tuple3f t)
		{
			set_Renamed(t);
			absolute();
		}
コード例 #45
0
ファイル: Vector4f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Sets the x,y,z components of this point to the corresponding
		/// components of tuple t1. The w component of this point is set to 1.
		/// 
		/// </summary>
		/// <param name="t1">the tuple to be copied
		/// </param>
		/// <since> Java3D 1.2
		/// </since>
		public void  set_Renamed(Tuple3f t1)
		{
			set_Renamed(t1.x, t1.y, t1.z, 0);
		}
コード例 #46
0
ファイル: Tuple3f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Linearly interpolates between this tuple and tuple t1 and places the
		/// result into this tuple: this = (1-alpha)*this + alpha*t1.
		/// </summary>
		/// <param name="t1">the first tuple
		/// </param>
		/// <param name="alpha">the alpha interpolation parameter
		/// 
		/// </param>
		public void  interpolate(Tuple3f t1, float alpha)
		{
			float beta = 1 - alpha;
			x = beta * x + alpha * t1.x;
			y = beta * y + alpha * t1.y;
			z = beta * z + alpha * t1.z;
		}
コード例 #47
0
ファイル: Point4f.cs プロジェクト: xuchuansheng/GenXSource
		/// <summary> Constructs and initializes a Point4d from the specified Tuple3f.
		/// The x,y,z  components of this point are set to the corresponding
		/// components
		/// of tuple t1. The w component of this point is set to 1.
		/// 
		/// </summary>
		/// <param name="t1">the tuple to be copied
		/// </param>
		/// <since> Java3D 1.2
		/// </since>
		public Point4f(Tuple3f t1):base(t1.x, t1.y, t1.z, 1)
		{
		}