Table of Contents

Struct NpgsqlBox

Namespace
NpgsqlTypes
Assembly
Npgsql.dll

Represents a PostgreSQL box type.

public struct NpgsqlBox : IEquatable<NpgsqlBox>
Implements
Inherited Members

Remarks

Constructors

NpgsqlBox(NpgsqlPoint, NpgsqlPoint)

public NpgsqlBox(NpgsqlPoint upperRight, NpgsqlPoint lowerLeft)

Parameters

upperRight NpgsqlPoint
lowerLeft NpgsqlPoint

NpgsqlBox(double, double, double, double)

public NpgsqlBox(double top, double right, double bottom, double left)

Parameters

top double
right double
bottom double
left double

Properties

Bottom

public double Bottom { get; }

Property Value

double

Height

public double Height { get; }

Property Value

double

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Left

public double Left { get; }

Property Value

double

LowerLeft

public NpgsqlPoint LowerLeft { readonly get; set; }

Property Value

NpgsqlPoint

Right

public double Right { get; }

Property Value

double

Top

public double Top { get; }

Property Value

double

UpperRight

public NpgsqlPoint UpperRight { readonly get; set; }

Property Value

NpgsqlPoint

Width

public double Width { get; }

Property Value

double

Methods

Equals(NpgsqlBox)

public bool Equals(NpgsqlBox other)

Parameters

other NpgsqlBox

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Parse(string)

public static NpgsqlBox Parse(string s)

Parameters

s string

Returns

NpgsqlBox

ToString()

public override string ToString()

Returns

string

Operators

operator ==(NpgsqlBox, NpgsqlBox)

public static bool operator ==(NpgsqlBox x, NpgsqlBox y)

Parameters

x NpgsqlBox
y NpgsqlBox

Returns

bool

operator !=(NpgsqlBox, NpgsqlBox)

public static bool operator !=(NpgsqlBox x, NpgsqlBox y)

Parameters

x NpgsqlBox
y NpgsqlBox

Returns

bool