skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Struct RectangleG

Represents a rectangle in Geographic coordinate system.

Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Telerik.WinControls.UI.Map
Assembly: Telerik.WinControls.RadMap.dll

Syntax

public struct RectangleG : IEquatable<RectangleG>

Constructors

RectangleG(Double, Double, Double, Double)

Initializes a new instance of the RectangleG struct.

Declaration
public RectangleG(double north, double west, double south, double east)
Parameters
System.Double north

The north.

System.Double west

The west.

System.Double south

The south.

System.Double east

The east.

Fields

Empty

Declaration
public static readonly RectangleG Empty
Field Value
RectangleG

Properties

East

Gets or sets the east.

Declaration
public double East { get; set; }
Property Value
System.Double

The east.

North

Gets or sets the north.

Declaration
public double North { get; set; }
Property Value
System.Double

The north.

NorthWest

Gets or sets the north-west corner of the rectangle.

Declaration
public PointG NorthWest { get; set; }
Property Value
PointG

The north-west corner.

South

Gets or sets the south.

Declaration
public double South { get; set; }
Property Value
System.Double

The south.

SouthEast

Gets or sets the south-east corner of the rectangle.

Declaration
public PointG SouthEast { get; set; }
Property Value
PointG

The south-east corner.

West

Gets or sets the west.

Declaration
public double West { get; set; }
Property Value
System.Double

The west.

Methods

Contains(PointG)

Determines whether this rectangle contains the specified point.

Declaration
public bool Contains(PointG location)
Parameters
PointG location

The location.

Returns
System.Boolean

true if this rectangle contains the specified point; otherwise, false.

Equals(Object)

Determines whether the specified System.Object is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The System.Object to compare with this instance.

Returns
System.Boolean

true if the specified System.Object is equal to this instance; otherwise, false.

Overrides
System.ValueType.Equals(System.Object)

Equals(RectangleG)

Declaration
public bool Equals(RectangleG other)
Parameters
RectangleG other

Returns
System.Boolean

Implements
System.IEquatable<T>.Equals(T)

GetBoundingRectangle(IEnumerable<PointG>)

Gets the bounding rectangle for the specified collection of points.

Declaration
public static RectangleG GetBoundingRectangle(IEnumerable<PointG> points)
Parameters
System.Collections.Generic.IEnumerable<PointG> points

The points.

Returns
RectangleG

RectangleG.

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.ValueType.GetHashCode()

IntersectsWith(RectangleG)

Gets a value indicating whether this rectangle intersects with the provided one.

Declaration
public bool IntersectsWith(RectangleG rect)
Parameters
RectangleG rect

The rect.

Returns
System.Boolean

true if this rectangle intersects with the provided one, false otherwise.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.