TriShape

Shape
public sealed class TriShape : Shape
Represents a single triangle for ray intersections.

Constructors

TriShape

#
Create a new triangle.
public TriShape()

TriShape

#
Create a new triangle.
public TriShape()

TriShape

#
Create a new triangle.
public TriShape()

TriShape

#
Create a new triangle.
public TriShape(
PointF
a,
PointF
b,
PointF
c
)

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; }

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