C# Class Dse.Geometry.Polygon

Inheritance: GeometryBase
显示文件 Open project: datastax/csharp-driver-dse

Public Methods

Method 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.

Protected Methods

Method Description
Polygon ( SerializationInfo info, StreamingContext context ) : System

Creates a new instance of Polygon using serialization information.

Method Details

Equals() public method

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

GetHashCode() public method

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

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

Polygon() public method

Creates a new instance of Polygon with a single ring.
public Polygon ( ) : System
return System

Polygon() public method

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

Polygon() protected method

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
return System

ToString() public method

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