dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Serialization

GeometrySerializationRecord Class

Protobuf serialization record for Geometry types.

public record GeometrySerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.Geometries.Geometry>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord>

Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<Geometry> 🡒 GeometrySerializationRecord

Implements System.IEquatable<GeometrySerializationRecord>

Constructors

GeometrySerializationRecord() Constructor

Default constructor for protobuf deserialization.

public GeometrySerializationRecord();

GeometrySerializationRecord(string, string, GeometrySerializationRecord, SpatialReferenceSerializationRecord) Constructor

Creates a new GeometrySerializationRecord with the specified values.

public GeometrySerializationRecord(string Id, string Type, dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord? Extent, dymaptic.GeoBlazor.Core.Serialization.SpatialReferenceSerializationRecord? SpatialReference);

Parameters

Id System.String

Type System.String

Extent GeometrySerializationRecord

SpatialReference SpatialReferenceSerializationRecord

Properties

GeometrySerializationRecord.Center Property

The center point for circle geometries.

public dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord? Center { get; set; }

Property Value

GeometrySerializationRecord

GeometrySerializationRecord.Centroid Property

The centroid of polygon geometries.

public dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord? Centroid { get; set; }

Property Value

GeometrySerializationRecord

GeometrySerializationRecord.Components Property

The mesh components for mesh geometries.

public dymaptic.GeoBlazor.Core.Serialization.MeshComponentSerializationRecord[]? Components { get; set; }

Property Value

MeshComponentSerializationRecord[]

GeometrySerializationRecord.Extent Property

The extent of the geometry.

public dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord? Extent { get; set; }

Property Value

GeometrySerializationRecord

GeometrySerializationRecord.Geodesic Property

Indicates whether the circle is geodesic.

public System.Nullable<bool> Geodesic { get; set; }

Property Value

System.Nullable<System.Boolean>

GeometrySerializationRecord.HasM Property

Indicates whether the geometry has M values.

public System.Nullable<bool> HasM { get; set; }

Property Value

System.Nullable<System.Boolean>

GeometrySerializationRecord.HasZ Property

Indicates whether the geometry has Z values.

public System.Nullable<bool> HasZ { get; set; }

Property Value

System.Nullable<System.Boolean>

GeometrySerializationRecord.Id Property

The unique identifier for the geometry.

public string? Id { get; set; }

Property Value

System.String

GeometrySerializationRecord.IsNull Property

Indicates whether this record represents a null value.

public override bool IsNull { get; init; }

Property Value

System.Boolean

GeometrySerializationRecord.IsSelfIntersecting Property

Indicates whether the polygon is self-intersecting.

public System.Nullable<bool> IsSelfIntersecting { get; set; }

Property Value

System.Nullable<System.Boolean>

GeometrySerializationRecord.IsSimple Property

Indicates whether the geometry is simple.

public System.Nullable<bool> IsSimple { get; set; }

Property Value

System.Nullable<System.Boolean>

GeometrySerializationRecord.Latitude Property

The latitude coordinate for point geometries.

public System.Nullable<double> Latitude { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Longitude Property

The longitude coordinate for point geometries.

public System.Nullable<double> Longitude { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.M Property

The M value for point geometries.

public System.Nullable<double> M { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Mmax Property

The maximum M value for extent geometries.

public System.Nullable<double> Mmax { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Mmin Property

The minimum M value for extent geometries.

public System.Nullable<double> Mmin { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.NumberOfPoints Property

The number of points in the circle.

public System.Nullable<int> NumberOfPoints { get; set; }

Property Value

System.Nullable<System.Int32>

GeometrySerializationRecord.Paths Property

The paths for polyline geometries.

public dymaptic.GeoBlazor.Core.Serialization.MapPathSerializationRecord[]? Paths { get; set; }

Property Value

MapPathSerializationRecord[]

GeometrySerializationRecord.Points Property

Multipoint geometry points.

public dymaptic.GeoBlazor.Core.Serialization.MapPointSerializationRecord[]? Points { get; set; }

Property Value

MapPointSerializationRecord[]

GeometrySerializationRecord.Radius Property

The radius of the circle.

public System.Nullable<double> Radius { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.RadiusUnit Property

The unit of the radius.

public string? RadiusUnit { get; set; }

Property Value

System.String

GeometrySerializationRecord.Rings Property

The rings for polygon geometries.

public dymaptic.GeoBlazor.Core.Serialization.MapPathSerializationRecord[]? Rings { get; set; }

Property Value

MapPathSerializationRecord[]

GeometrySerializationRecord.SpatialReference Property

The spatial reference of the geometry.

public dymaptic.GeoBlazor.Core.Serialization.SpatialReferenceSerializationRecord? SpatialReference { get; set; }

Property Value

SpatialReferenceSerializationRecord

GeometrySerializationRecord.Transform Property

The transform for mesh geometries.

public dymaptic.GeoBlazor.Core.Serialization.MeshTransformSerializationRecord? Transform { get; set; }

Property Value

MeshTransformSerializationRecord

GeometrySerializationRecord.Type Property

The geometry type (point, polyline, polygon, extent, multipoint, mesh).

public string Type { get; set; }

Property Value

System.String

GeometrySerializationRecord.VertexAttributes Property

The vertex attributes for mesh geometries.

public dymaptic.GeoBlazor.Core.Serialization.MeshVertexAttributesSerializationRecord? VertexAttributes { get; set; }

Property Value

MeshVertexAttributesSerializationRecord

GeometrySerializationRecord.VertexSpace Property

The vertex space for mesh geometries.

public dymaptic.GeoBlazor.Core.Serialization.MeshVertexSpaceSerializationRecord? VertexSpace { get; set; }

Property Value

MeshVertexSpaceSerializationRecord

GeometrySerializationRecord.X Property

The X coordinate for point geometries.

public System.Nullable<double> X { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Xmax Property

The maximum X coordinate for extent geometries.

public System.Nullable<double> Xmax { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Xmin Property

The minimum X coordinate for extent geometries.

public System.Nullable<double> Xmin { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Y Property

The Y coordinate for point geometries.

public System.Nullable<double> Y { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Ymax Property

The maximum Y coordinate for extent geometries.

public System.Nullable<double> Ymax { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Ymin Property

The minimum Y coordinate for extent geometries.

public System.Nullable<double> Ymin { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Z Property

The Z coordinate for point geometries.

public System.Nullable<double> Z { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Zmax Property

The maximum Z coordinate for extent geometries.

public System.Nullable<double> Zmax { get; set; }

Property Value

System.Nullable<System.Double>

GeometrySerializationRecord.Zmin Property

The minimum Z coordinate for extent geometries.

public System.Nullable<double> Zmin { get; set; }

Property Value

System.Nullable<System.Double>

Methods

GeometrySerializationRecord.FromSerializationRecord() Method

Converts this serialization record back to the original type.

public override dymaptic.GeoBlazor.Core.Components.Geometries.Geometry? FromSerializationRecord();

Returns

Geometry