C# Class Dse.Geometry.Polygon

Inheritance: GeometryBase
Afficher le fichier Open project: datastax/csharp-driver-dse

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Returns a value indicating whether this instance and a specified object represent the same value.

GetHashCode ( ) : int

Returns the hash code based on the value of this instance.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Polygon ( ) : System

Creates a new instance of Polygon with a single ring.

Polygon ( IList rings ) : System

Creates a new instance of Polygon using multiple rings.

ToString ( ) : string

Returns Well-known text (WKT) representation of the geometry object.

Méthodes protégées

Méthode Description
Polygon ( SerializationInfo info, StreamingContext context ) : System

Creates a new instance of Polygon using serialization information.

Method Details

Equals() public méthode

Returns a value indicating whether this instance and a specified object represent the same value.
public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

Returns the hash code based on the value of this instance.
public GetHashCode ( ) : int
Résultat int

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

Polygon() public méthode

Creates a new instance of Polygon with a single ring.
public Polygon ( ) : System
Résultat System

Polygon() public méthode

Creates a new instance of Polygon using multiple rings.
public Polygon ( IList rings ) : System
rings IList The polygon rings
Résultat System

Polygon() protected méthode

Creates a new instance of Polygon using serialization information.
protected Polygon ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

ToString() public méthode

Returns Well-known text (WKT) representation of the geometry object.
public ToString ( ) : string
Résultat string