Quad Class Documentation

classQuad : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

Represents a quadrilateral in a program.

A quadrilateral is a polygon graphic that has four sides or edges and four corners, Bottom Left, Bottom Right, Top Left, and Top Right.

Constructor & Destructor Documentation

Quad

Quad(Quadrhs, InternalConstructsignifier)

Parameters

rhs: Quad
signifier: InternalConstruct

Quad

Quad()

Creates a Quad with all points at the origin.

Quad

Quad(PointnTopLeft, PointnTopRight, PointnBottomLeft, PointnBottomRight)

Parameters

nTopLeft: Point
nTopRight: Point
nBottomLeft: Point
nBottomRight: Point

Creates a Quad from a set of 4 points.

~Quad

~Quad()

Property Documentation

BottomLeft

PointBottomLeft[get]

Bottom left corner of the Quad.

BottomRight

PointBottomRight[get]

Bottom right corner of the Quad.

TopLeft

PointTopLeft[get]

Top left corner of the Quad.

TopRight

PointTopRight[get]

Top right corner of the Quad.

Member Function Documentation

ConstructorRetrieve

static QuadConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

Quad

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

Equals

override boolEquals(objectobj)

Parameters

obj: object

Returns:

override bool

SameTypeEquals

boolSameTypeEquals(Quadrhs)

Parameters

rhs: Quad

Returns:

bool

ToRect

RectToRect()

Returns:

Rect

Returns a rectangle describing the same area as the quad.

ToString

override stringToString()

Returns:

override string

Returns a UTF-8 string representation of the quad by calling each point's ToString function.

Transform

QuadTransform(Matrixarg0)

Parameters

arg0: Matrix

Returns:

Quad

Create a new quad from the results of a Transform on each point of the Quad.