CodePlexProject Hosting for Open Source Software

Extent works like an envelope but is faster acting, has a minimum memory profile, only works in 2D and has no events.

Name | Description | |
---|---|---|

Clone | Produces a clone, rather than using this same object. | |

Constructor | This function has 5 overloads. | |

Contains | This function has 3 overloads. | |

CopyFrom | Copies the MinX, MaxX, MinY, MaxY values from extent. | |

Equals | Allows equality testing for extents that is derived on the extent itself. | |

ExpandBy | This function has 2 overloads. | |

ExpandToInclude | This function has 2 overloads. | |

GetHashCode | Spreads the values for the basic X, Y extents across the whole range of int. Repetition will occur, but it should be rare. | |

Intersection | Calculates the intersection of this extent and the other extent. A result with a min greater than the max in either direction is considered invalid and represents no intersection. | |

Intersects | This function has 5 overloads. | |

IsEmpty | If this is undefined, it will have a min that is larger than the max, or else any value is NaN. This only applies to the X and Z terms. Check HasM or HasZ higher dimensions. | |

Parse | This allows parsing the X and Y values from a string version of the extent as: 'X[-180|180], Y[-90|90]' Where minimum always precedes maximum. The correct M or MZ version of extent will be returned if the string has those values. | |

SetCenter | This function has 3 overloads. | |

ToEnvelope | Creates a geometric envelope interface from this | |

ToString | Creates a string that shows the extent. | |

TryExtract | Attempts to extract the min and max from one element of text. The element should be formatted like X[1.5, 2.7] using an invariant culture. | |

TryParse | This reads the string and attempts to derive values from the text. | |

TryParseExtremes | This method converts the X and Y text into two doubles. | |

Within | This function has 2 overloads. |

Last edited Dec 5, 2010 at 5:19 AM by Shade1974, version 11