Dela via


Geocircle Constructors

Definition

Overloads

Geocircle(BasicGeoposition, Double)

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

Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem)

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

Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem, UInt32)

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

Geocircle(BasicGeoposition, Double)

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

public:
 Geocircle(BasicGeoposition position, double radius);
 Geocircle(BasicGeoposition const& position, double const& radius);
public Geocircle(BasicGeoposition position, double radius);
function Geocircle(position, radius)
Public Sub New (position As BasicGeoposition, radius As Double)

Parameters

position
BasicGeoposition

The geographic position of the new circle.

radius
Double

double

The radius of the new circle, in meters.

Windows requirements

App capabilities
location

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.

Applies to

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);
 Geocircle(BasicGeoposition const& position, double const& radius, AltitudeReferenceSystem const& altitudeReferenceSystem);
public Geocircle(BasicGeoposition position, double radius, AltitudeReferenceSystem altitudeReferenceSystem);
function Geocircle(position, radius, altitudeReferenceSystem)
Public Sub New (position As BasicGeoposition, radius As Double, altitudeReferenceSystem As AltitudeReferenceSystem)

Parameters

position
BasicGeoposition

The geographic position of the new circle.

radius
Double

double

The radius of the new circle, in meters.

altitudeReferenceSystem
AltitudeReferenceSystem

The altitude reference system of the new circle.

Windows requirements

App capabilities
location

Applies to

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, unsigned int spatialReferenceId);
 Geocircle(BasicGeoposition const& position, double const& radius, AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t const& spatialReferenceId);
public Geocircle(BasicGeoposition position, double radius, AltitudeReferenceSystem altitudeReferenceSystem, uint spatialReferenceId);
function Geocircle(position, radius, altitudeReferenceSystem, spatialReferenceId)
Public Sub New (position As BasicGeoposition, radius As Double, altitudeReferenceSystem As AltitudeReferenceSystem, spatialReferenceId As UInteger)

Parameters

position
BasicGeoposition

The geographic position of the new circle.

radius
Double

double

The radius of the new circle, in meters.

altitudeReferenceSystem
AltitudeReferenceSystem

The altitude reference system of the new circle.

spatialReferenceId
UInt32

unsigned int

uint32_t

The spatial reference Id of the new circle.

Windows requirements

App capabilities
location

Applies to