Geocircle Geocircle Geocircle Class

Definition

Describes a geographic circle with a center point and a radius.

public sealed class Geocircle : IGeocircle, IGeoshapepublic sealed class Geocircle : IGeocircle, IGeoshapePublic NotInheritable Class Geocircle Implements IGeocircle, IGeoshape
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

Geocircle(BasicGeoposition, Double) Geocircle(BasicGeoposition, Double) Geocircle(BasicGeoposition, Double)

Create a geographic circle object for the given position and radius.

public Geocircle(BasicGeoposition position, Double radius)public Geocircle(BasicGeoposition position, Double radius)Public Sub New(position As BasicGeoposition, radius As Double)
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition

The geographic position of the new circle.

radius
System.Double System.Double System.Double

The radius of the new circle, in meters.

Attributes

Remarks

The constructor will throw an exception if the provided BasicGeoposition has a latitude is less than -90 or greater than 90 or if the supplied Radius is outside of the allowed range.

Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem) Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem) Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem)

Create a geographic circle object for the given position, radius and altitude reference system.

public Geocircle(BasicGeoposition position, Double radius, AltitudeReferenceSystem altitudeReferenceSystem)public Geocircle(BasicGeoposition position, Double radius, AltitudeReferenceSystem altitudeReferenceSystem)Public Sub New(position As BasicGeoposition, radius As Double, altitudeReferenceSystem As AltitudeReferenceSystem)
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition

The geographic position of the new circle.

radius
System.Double System.Double System.Double

The radius of the new circle, in meters.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the new circle.

Attributes

Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem, UInt32) Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem, UInt32) Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem, UInt32)

Create a geographic circle object for the given position, radius, altitude reference system, and spatial reference id.

public Geocircle(BasicGeoposition position, Double radius, AltitudeReferenceSystem altitudeReferenceSystem, UInt32 spatialReferenceId)public Geocircle(BasicGeoposition position, Double radius, AltitudeReferenceSystem altitudeReferenceSystem, UInt32 spatialReferenceId)Public Sub New(position As BasicGeoposition, radius As Double, altitudeReferenceSystem As AltitudeReferenceSystem, spatialReferenceId As UInt32)
Parameters
position
BasicGeoposition BasicGeoposition BasicGeoposition

The geographic position of the new circle.

radius
System.Double System.Double System.Double

The radius of the new circle, in meters.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the new circle.

spatialReferenceId
System.UInt32 System.UInt32 System.UInt32

The spatial reference Id of the new circle.

Attributes

Properties

AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the geographic circle.

public AltitudeReferenceSystem AltitudeReferenceSystem { get; }public AltitudeReferenceSystem AltitudeReferenceSystem { get; }Public ReadOnly Property AltitudeReferenceSystem As AltitudeReferenceSystem
Value
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system of the geographic circle.

Attributes

Remarks

Windows supports the Ellipsoid altitude reference system.

Center Center Center

The center point of a geographic circle.

public BasicGeoposition Center { get; }public BasicGeoposition Center { get; }Public ReadOnly Property Center As BasicGeoposition
Value
BasicGeoposition BasicGeoposition BasicGeoposition

The center point of a geographic circle.

Attributes

GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape.

public GeoshapeType GeoshapeType { get; }public GeoshapeType GeoshapeType { get; }Public ReadOnly Property GeoshapeType As GeoshapeType
Value
GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape.

Attributes

Radius Radius Radius

The radius of a geographic circle in meters.

public double Radius { get; }public double Radius { get; }Public ReadOnly Property Radius As double
Value
double double double

The radius of a geographic circle.

Attributes

Remarks

The valid range of radius values is from .1 to 10018754.3 meters. 10018754.3 meters is one quarter of the earth’s circumference.

SpatialReferenceId SpatialReferenceId SpatialReferenceId

The spatial reference identifier for the geographic circle, corresponding to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping.

public uint SpatialReferenceId { get; }public uint SpatialReferenceId { get; }Public ReadOnly Property SpatialReferenceId As uint
Value
uint uint uint

The spatial reference identifier for the geographic circle, corresponding to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping.

Attributes

Remarks

The spatial reference id (SRID) corresponds to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping. Spatial instances with the same SRID can be used when performing operations with spatial data methods on your data. The result of any spatial method derived from two spatial data instances is valid only if those instances have the same SRID that is based on the same unit of measurement, datum, and projection used to determine the coordinates of the instances. The most common units of measurement of a SRID are meters or square meters. The default SRID for the Windows platform is 4326 which is WGS84 ellipsoid.

The spatial reference identification system is defined by the European Petroleum Survey Group (EPSG) standard, which is a set of standards developed for cartography, surveying, and geodetic data storage. This standard is owned by the Oil and Gas Producers (OGP) Surveying and Positioning Committee.