Exemplo n.º 1
0
 /// <summary>
 /// Initialize an <c>Envelope</c> for a region defined by a single Coordinate.
 /// </summary>
 /// <param name="p">The Coordinate.</param>
 public virtual void Init(Coordinate p)
 {
     if (p == null)
     {
         Init();
         return;
     }
     _min = p.Copy();
     _max = p.Copy();
     OnEnvelopeChanged();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates an <c>Envelope</c> for a region defined by a single Coordinate.
 /// </summary>
 /// <param name="p">The Coordinate.</param>
 public Envelope(Coordinate p)
 {
     DoInit(p, p.Copy());
 }