mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Updated BoundingBox
This commit is contained in:
parent
e8a34b1a9f
commit
8cdc03e411
6 changed files with 27 additions and 127 deletions
|
|
@ -49,16 +49,19 @@ namespace MapControl
|
|||
public virtual double Width
|
||||
{
|
||||
get { return East - West; }
|
||||
protected set { }
|
||||
}
|
||||
|
||||
public virtual double Height
|
||||
{
|
||||
get { return North - South; }
|
||||
protected set { }
|
||||
}
|
||||
|
||||
public virtual BoundingBox Clone()
|
||||
public virtual Location Center
|
||||
{
|
||||
return new BoundingBox(South, West, North, East);
|
||||
get { return new Location((South + North) / 2d, (West + East) / 2d); }
|
||||
protected set { }
|
||||
}
|
||||
|
||||
public static BoundingBox Parse(string s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue