QuadShape

Shape
public sealed class QuadShape : Shape
Represents a single convex quad for ray intersections.

Constructors

QuadShape

#
Create a new quad.
public QuadShape()

QuadShape

#
Create a new quad.
public QuadShape()

QuadShape

#
Create a new quad.
public QuadShape()

QuadShape

#
Create a new quad.
public QuadShape(
PointF
a,
PointF
b,
PointF
c,
PointF
d
)

Properties

A

#
Gets the A corner.
public Point2d A { get; }

B

#
Gets the B corner.
public Point2d B { get; }

Bounds

#
Gets the bounding box for this shape.
public override Box Bounds { get; }
Shape.Bounds

C

#
Gets the C corner.
public Point2d C { get; }

D

#
Gets the D corner.
public Point2d D { get; }

Methods

IsCoincident

#
Test whether a specific coordinate is coincident with this obstacle.
public override bool IsCoincident()
True if point is coincident.

Overlap

#
Determine the overlap between this shape and a box.
public override Overlap Overlap(
box
Box.
)
Overlap topology.
Shape.Overlap