LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Datamodels.GeometryDataAnnotation Class Referencesealed

DataAnnotation that is added on a DataType to define which property path contains the main geometry. More...

Inheritance diagram for Luciad.Datamodels.GeometryDataAnnotation:
Luciad.Datamodels.DataAnnotation

Public Member Functions

 GeometryDataAnnotation (Luciad.Datamodels.DataPropertyPath propertyPath)
 Creates a new GeometryDataAnnotation instance.
override bool Equals (object other)
override int GetHashCode ()
 Returns the hash code.
Public Member Functions inherited from Luciad.Datamodels.DataAnnotation
void Dispose ()
override bool Equals (object other)
override int GetHashCode ()
 Returns the hash value for this annotation.

Static Public Member Functions

static Luciad.Datamodels.GeometryDataAnnotation Find (Luciad.Datamodels.DataType type)
 Searches for the geometry data annotation on a give data type.

Properties

Luciad.Datamodels.DataPropertyPath PropertyPath [get]
 The geometry property path for the type annotated with this annotation.

Detailed Description

DataAnnotation that is added on a DataType to define which property path contains the main geometry.

The referred-to property must have Geometry as its data type.

See also
DataPropertyPath

Constructor & Destructor Documentation

◆ GeometryDataAnnotation()

Luciad.Datamodels.GeometryDataAnnotation.GeometryDataAnnotation ( Luciad.Datamodels.DataPropertyPath propertyPath)
inline

Creates a new GeometryDataAnnotation instance.

Parameters
propertyPaththe path to the data property that contains the geometry.

Member Function Documentation

◆ Equals()

override bool Luciad.Datamodels.GeometryDataAnnotation.Equals ( object other)
inline

◆ Find()

Luciad.Datamodels.GeometryDataAnnotation Luciad.Datamodels.GeometryDataAnnotation.Find ( Luciad.Datamodels.DataType type)
inlinestatic

Searches for the geometry data annotation on a give data type.

Parameters
typethe data type.
Returns
the geometry annotation found. Can be null if not found.

◆ GetHashCode()

override int Luciad.Datamodels.GeometryDataAnnotation.GetHashCode ( )
inline

Returns the hash code.

Returns
the hash code.

Property Documentation

◆ PropertyPath

Luciad.Datamodels.DataPropertyPath Luciad.Datamodels.GeometryDataAnnotation.PropertyPath
get

The geometry property path for the type annotated with this annotation.

[get]

Returns the geometry property path for the type annotated with this annotation.