Search Results for

    Show / Hide Table of Contents

    Class GeoCircle

    Represents a circle on the surface of a sphere for a geospatial GeoWithin(IEmbeddedObject?, GeoShapeBase) query.

    Inheritance
    object
    GeoShapeBase
    GeoCircle
    Namespace: Realms
    Assembly: Realm.dll
    Syntax
    public class GeoCircle : GeoShapeBase

    Constructors

    | Edit this page View Source

    GeoCircle(GeoPoint, Distance)

    Initializes a new instance of the GeoCircle class.

    Declaration
    public GeoCircle(GeoPoint center, Distance radius)
    Parameters
    Type Name Description
    GeoPoint center

    The center of the circle.

    Distance radius

    The radius of the circle.

    | Edit this page View Source

    GeoCircle(GeoPoint, double)

    Initializes a new instance of the GeoCircle class.

    Declaration
    public GeoCircle(GeoPoint center, double radiusInRadians)
    Parameters
    Type Name Description
    GeoPoint center

    The center of the circle.

    double radiusInRadians

    The radius of the circle in radians.

    Properties

    | Edit this page View Source

    Center

    Gets the center of the circle.

    Declaration
    public GeoPoint Center { get; }
    Property Value
    Type Description
    GeoPoint

    The circle's center.

    | Edit this page View Source

    Radius

    Gets the radius of the circle in radians.

    Declaration
    public double Radius { get; }
    Property Value
    Type Description
    double

    The circle's radius.

    Methods

    | Edit this page View Source

    ToString()

    Returns a string representation of the value.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation of the value.

    Overrides
    object.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2020-2024 Realm
    Generated by DocFX