public GetArea ( |
||
ctx | ||
Résultat | double |
public double GetArea(SpatialContext ctx)
{
if (ctx == null)
{
return GetWidth()*GetHeight();
}
else
{
return ctx.GetDistCalc().Area(this);
}
}