Example #1
0
 public bool IsYEq(XPoint P)
 {
     return(Y == P.Y);
 }
Example #2
0
 // =======================================================
 static public XPoint Fit(XPoint dest, XPoint source)
 {
     return(Fit(dest, source, scaleFlags.autoScale));
 }
Example #3
0
 public bool IsYLEq(XPoint P)
 {
     return(IsYG(P) & IsYG(P));
 }
Example #4
0
 public bool IsXEq(XPoint P)
 {
     return(X == P.X);
 }
Example #5
0
 public XPoint GetRation(XPoint dst)
 {
     return(dst / this);
 }
Example #6
0
 public bool IsXLEq(XPoint P)
 {
     return(IsXG(P) & IsXG(P));
 }
Example #7
0
 public bool IsYL(XPoint P)
 {
     return(Y < P.Y);
 }
Example #8
0
 /// <summary>same as FlattenPoint overload without boolean</summary>
 static public XPoint FlattenDown(XPoint _pin)
 {
     return(FlattenPoint(_pin));
 }
Example #9
0
 public bool IsYG(XPoint P)
 {
     return(Y > P.Y);
 }
Example #10
0
 public bool IsXL(XPoint P)
 {
     return(X < P.X);
 }
Example #11
0
 public bool IsXG(XPoint P)
 {
     return(X > P.X);
 }
Example #12
0
 public XPoint Translate(XPoint offset, XPoint zoom)
 {
     return((this + offset) * zoom);
 }
Example #13
0
 public XPoint GetScaledRation(XPoint dst)
 {
     return(this * (dst / this));
 }
Example #14
0
 public void CopyPoint(XPoint inPoint)
 {
     X = inPoint.X; Y = inPoint.Y;
 }
Example #15
0
 public bool IsLEq(XPoint p)
 {
     return((X <= p.X) && (Y <= p.Y));
 }
Example #16
0
 static public XPoint FlattenPoint(XPoint _pin)
 {
     return(FlattenPoint(_pin, false));
 }
Example #17
0
 public bool IsGEq(XPoint p)
 {
     return((X >= p.X) && (Y >= p.Y));
 }
Example #18
0
 static public XPoint FlattenUp(XPoint _pin)
 {
     return(FlattenPoint(_pin, true));
 }
Example #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;
 }