Class CircleBoundary
Definition
- Assembly:
- Tizen.Location.dll
This class represents a circular location boundary. Inherits the Abstract LocationBoundary class.
public class CircleBoundary : LocationBoundary, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceCircleBoundary(Coordinate, double)
The constructor of the Circular boundary class.
Declaration
public CircleBoundary(Coordinate coordinate, double radius)
Parameters
| Type | Name | Description |
|---|---|---|
| Coordinate | coordinate | The coordinates which constitute the center of the circular boundary. |
| double | radius | The radius value of the circular boundary. |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
| System.ArgumentException | Thrown when an invalid argument is used. |
| System.NotSupportedException | Thrown when the location is not supported. |
Properties
View SourceCenter
Gets the coordinate of the center of a circular boundary.
Declaration
public Coordinate Center { get; }
Property Value
| Type | Description |
|---|---|
| Coordinate |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
| System.ArgumentException | Thrown when an invalid argument is used. |
| System.NotSupportedException | Thrown when the location is not supported. |
Radius
Gets the radius of a circular boundary.
Declaration
public double Radius { get; }
Property Value
| Type | Description |
|---|---|
| double |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown when the operation is invalid for the current state. |
| System.ArgumentException | Thrown when an invalid argument is used. |
| System.NotSupportedException | Thrown when the location is not supported. |