Quadrangle

Quadrangle class

Stores a set of four s that represent a Quadrangle region.

The Quadrangle type exposes the following members:

Constructors

Name Description
Quadrangle() Initializes a new empty instance of the Quadrangle class.
Quadrangle(left_top, right_top, right_bottom, left_bottom) Initializes a new instance of the Quadrangle class

Properties

Name Description
left_top Gets left-top corner of Quadrangle region
right_top Gets right-top corner of Quadrangle region
right_bottom Gets right-bottom corner of Quadrangle region
left_bottom Gets left-bottom corner of Quadrangle region
is_empty Tests whether all s of this Quadrangle have values of zero.
bounding_rectangle Gets bounding this Quadrangle
EMPTY Represents a Quadrangle class with its properties left uninitialized.

Methods

Name Description
contains(pt) Determines if the specified is contained within this Quadrangle class.
contains(x, y) Determines if the specified is contained within this Quadrangle class.
contains(quad) Determines if the specified is contained within this Quadrangle class.
contains(rect) Determines if the specified is contained or intersect this Quadrangle class.
equals(other) Returns a value indicating whether this instance is equal to a specified Quadrangle value.

See Also