Show / Hide Table of Contents

    Class GeometryReference

    A reference to a model, hosted at a URL.

    Inheritance
    System.Object
    GeometryReference
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements
    Assembly: Hypar.Elements.dll
    Syntax
    [JsonConverter(typeof(JsonInheritanceConverter), new object[]{"discriminator"})]
    public class GeometryReference

    Constructors

    GeometryReference(String, IList<Object>)

    Construct a geometry reference.

    Declaration
    [JsonConstructor]
    public GeometryReference(string geometryUrl, IList<object> internalGeometry)
    Parameters
    Type Name Description
    System.String geometryUrl

    The url of the referenced geometry.

    System.Collections.Generic.IList<System.Object> internalGeometry

    Geometry containe in this reference.

    Properties

    GeometryUrl

    The URL where the referenced geometry is hosted.

    Declaration
    [JsonProperty("GeometryUrl", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public string GeometryUrl { get; set; }
    Property Value
    Type Description
    System.String

    InternalGeometry

    Any geometric data directly contained in this reference.

    Declaration
    [JsonProperty("InternalGeometry", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public IList<object> InternalGeometry { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.Object>