Beispiel #1
0
        public override object  ConvertFrom(System.ComponentModel.ITypeDescriptorContext _Context, System.Globalization.CultureInfo _Culture, object _Value)
        {
            if (_Value is string)
            {
                return(HPoint.Parse(_Value as string));
            }

            return(base.ConvertFrom(_Context, _Culture, _Value));
        }
Beispiel #2
0
 public void                                     Min(HPoint _Op)
 {
     x = System.Math.Min(x, _Op.x); y = System.Math.Min(y, _Op.y); z = System.Math.Min(z, _Op.z);
 }
Beispiel #3
0
 public void                                     Set(HPoint _Source)
 {
     x = _Source.x; y = _Source.y; z = _Source.z; w = _Source.w;
 }
Beispiel #4
0
 public HPoint(HPoint _Source)
 {
     Set(_Source);
 }
Beispiel #5
0
 public void                                     Max(HPoint _Op)
 {
     x = System.Math.Max(x, _Op.x); y = System.Math.Max(y, _Op.y); z = System.Math.Max(z, _Op.z);
 }
Beispiel #6
0
 public void Set( HPoint _Source )
 {
     x = _Source.x; y = _Source.y; z = _Source.z; w = _Source.w;
 }
Beispiel #7
0
 public void Min( HPoint _Op )
 {
     x = System.Math.Min( x, _Op.x ); y = System.Math.Min( y, _Op.y ); z = System.Math.Min( z, _Op.z );
 }
Beispiel #8
0
 public void Max( HPoint _Op )
 {
     x = System.Math.Max( x, _Op.x ); y = System.Math.Max( y, _Op.y ); z = System.Math.Max( z, _Op.z );
 }
Beispiel #9
0
 public HPoint( HPoint _Source )
 {
     Set( _Source );
 }