Exemplo n.º 1
0
 public bool IsYEq(XPoint P)
 {
     return(Y == P.Y);
 }
Exemplo n.º 2
0
 // =======================================================
 static public XPoint Fit(XPoint dest, XPoint source)
 {
     return(Fit(dest, source, scaleFlags.autoScale));
 }
Exemplo n.º 3
0
 public bool IsYLEq(XPoint P)
 {
     return(IsYG(P) & IsYG(P));
 }
Exemplo n.º 4
0
 public bool IsXEq(XPoint P)
 {
     return(X == P.X);
 }
Exemplo n.º 5
0
 public XPoint GetRation(XPoint dst)
 {
     return(dst / this);
 }
Exemplo n.º 6
0
 public bool IsXLEq(XPoint P)
 {
     return(IsXG(P) & IsXG(P));
 }
Exemplo n.º 7
0
 public bool IsYL(XPoint P)
 {
     return(Y < P.Y);
 }
Exemplo n.º 8
0
 /// <summary>same as FlattenPoint overload without boolean</summary>
 static public XPoint FlattenDown(XPoint _pin)
 {
     return(FlattenPoint(_pin));
 }
Exemplo n.º 9
0
 public bool IsYG(XPoint P)
 {
     return(Y > P.Y);
 }
Exemplo n.º 10
0
 public bool IsXL(XPoint P)
 {
     return(X < P.X);
 }
Exemplo n.º 11
0
 public bool IsXG(XPoint P)
 {
     return(X > P.X);
 }
Exemplo n.º 12
0
 public XPoint Translate(XPoint offset, XPoint zoom)
 {
     return((this + offset) * zoom);
 }
Exemplo n.º 13
0
 public XPoint GetScaledRation(XPoint dst)
 {
     return(this * (dst / this));
 }
Exemplo n.º 14
0
 public void CopyPoint(XPoint inPoint)
 {
     X = inPoint.X; Y = inPoint.Y;
 }
Exemplo n.º 15
0
 public bool IsLEq(XPoint p)
 {
     return((X <= p.X) && (Y <= p.Y));
 }
Exemplo n.º 16
0
 static public XPoint FlattenPoint(XPoint _pin)
 {
     return(FlattenPoint(_pin, false));
 }
Exemplo n.º 17
0
 public bool IsGEq(XPoint p)
 {
     return((X >= p.X) && (Y >= p.Y));
 }
Exemplo n.º 18
0
 static public XPoint FlattenUp(XPoint _pin)
 {
     return(FlattenPoint(_pin, true));
 }
Exemplo n.º 19
0
 /// <summary>Flattens the calling point</summary>
 public void Flatten(bool roundUp)
 {
     XPoint f = Flat(roundUp); this.X = f.X; this.Y = f.Y; f = null;
 }