Class BiomImageSegmentPolygonType
A data type for a set of vertices within an image describing a polygon-shaped region; the first and last vertices are assumed to be connected
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class BiomImageSegmentPolygonType : IEquatable<BiomImageSegmentPolygonType>
Properties
Context
biomImageSegmentPolygonType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public BiomImageSegmentPolygonType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BiomImageSegmentPolygonType.ContextEnum> | biomImageSegmentPolygonType JSON-LD context |
PositionPolygonVertex
A vertex in a position polygon NIEM reference is biom:PositionPolygonVertex
Declaration
[DataMember(Name = "positionPolygonVertex")]
public List<BiomVertexType> PositionPolygonVertex { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<BiomVertexType> | A vertex in a position polygon NIEM reference is biom:PositionPolygonVertex |
Methods
Equals(BiomImageSegmentPolygonType)
Returns true if BiomImageSegmentPolygonType instances are equal
Declaration
public bool Equals(BiomImageSegmentPolygonType other)
Parameters
Type | Name | Description |
---|---|---|
BiomImageSegmentPolygonType | other | Instance of BiomImageSegmentPolygonType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(BiomImageSegmentPolygonType, BiomImageSegmentPolygonType)
Declaration
public static bool operator ==(BiomImageSegmentPolygonType left, BiomImageSegmentPolygonType right)
Parameters
Type | Name | Description |
---|---|---|
BiomImageSegmentPolygonType | left | |
BiomImageSegmentPolygonType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(BiomImageSegmentPolygonType, BiomImageSegmentPolygonType)
Declaration
public static bool operator !=(BiomImageSegmentPolygonType left, BiomImageSegmentPolygonType right)
Parameters
Type | Name | Description |
---|---|---|
BiomImageSegmentPolygonType | left | |
BiomImageSegmentPolygonType | right |
Returns
Type | Description |
---|---|
System.Boolean |