Ejemplo n.º 1
0
 public CircleG(int id, PointG pt1, PointG pt2, PointG pt3)
 {
     Id = id;
     P1 = (int)pt1.Id;
     P2 = (int)pt2.Id;
     P3 = (int)pt3.Id;
 }
Ejemplo n.º 2
0
 public override bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)
 {
     if (this.Image == null)
     {
         return(base.HitTest(pointG, pointL, viewport));
     }
     return(this.drawRect.Contains(pointL));
 }
Ejemplo n.º 3
0
 public CircleG(int id, Arc2d arc, int pt1, int pt2, int idpt3, out PointG pt3)
 {
     Id  = id;
     P1  = pt1;
     P2  = pt2;
     pt3 = new PointG(arc.Center, idpt3);
     P3  = idpt3;
 }
 public void FuncNoParallel()
 {
     for (int i = 0; i < lengthmess; i++)
     {
         int                correct   = 0;
         BigInteger         bigtext   = new BigInteger(Message[i]);
         EllipticCurvePoint pointtext = PointG.SearchPoint(bigtext, out correct);
         EllipticCurvePoint point2    = EllipticCurvePoint.AffineCoords(EllipticCurvePoint.AddPoint(pointtext, kPublicB));
         Shifr[i] = new Shifr(kP, point2, correct);
     }
 }
Ejemplo n.º 5
0
    public bool Contains(PointG pt)
	{
		return Contains(pt.X, pt.Y);
	}
Ejemplo n.º 6
0
 public CustomMapPin(PointG location)
     : base(location)
 {
 }
Ejemplo n.º 7
0
 public TextRunG(string aString, PointG origin)
 {
     fOrigin = origin;
     fString = aString;
 }