Search Results for

    Show / Hide Table of Contents

    Class EnvelopeExtensions

    Extension method class

    Inheritance
    System.Object
    EnvelopeExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.ObjectModels.Common
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public static class EnvelopeExtensions

    Methods

    | Improve this Doc View Source

    Center(IEnvelope)

    Gets the center of the specified envelope

    Declaration
    public static IPoint2D Center(this IEnvelope env)
    Parameters
    Type Name Description
    IEnvelope env
    Returns
    Type Description
    IPoint2D
    | Improve this Doc View Source

    Clone(IEnvelope)

    Clones this instance

    Declaration
    public static IEnvelope Clone(this IEnvelope env)
    Parameters
    Type Name Description
    IEnvelope env

    The envelope.

    Returns
    Type Description
    IEnvelope
    | Improve this Doc View Source

    Contains(IEnvelope, Double, Double)

    Indicates whether the specified coordinates are within this instance

    Declaration
    public static bool Contains(this IEnvelope env, double x, double y)
    Parameters
    Type Name Description
    IEnvelope env

    The env.

    System.Double x

    The x.

    System.Double y

    The y.

    Returns
    Type Description
    System.Boolean

    true if [contains] [the specified env]; otherwise, false.

    | Improve this Doc View Source

    ExpandToInclude(IEnvelope, IEnvelope)

    Expands this envelope to accomodate the given envelope

    Declaration
    public static void ExpandToInclude(this IEnvelope env, IEnvelope e1)
    Parameters
    Type Name Description
    IEnvelope env
    IEnvelope e1
    | Improve this Doc View Source

    Intersects(IEnvelope, IEnvelope)

    Indicates whether the specified envelope intersects this instance

    Declaration
    public static bool Intersects(this IEnvelope env, IEnvelope other)
    Parameters
    Type Name Description
    IEnvelope env

    The env.

    IEnvelope other

    The other.

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsEmpty(IEnvelope)

    Gets whether the given instance is empty

    Declaration
    public static bool IsEmpty(this IEnvelope env)
    Parameters
    Type Name Description
    IEnvelope env
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng