DiscShape

Shape
public sealed class DiscShape : Shape
Represents a circular disc for ray intersections.

Constructors

DiscShape

#
Create a new disc.
public DiscShape()

DiscShape

#
Create a new disc.
public DiscShape(
a,
radius
)

DiscShape

#
Create a new disc.
public DiscShape(
PointF
centre,
radius
)

Properties

Bounds

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

Centre

#
Gets the centre of the disc.
public Point2d Centre { get; }

Radius

#
Gets the radius of the disc.
public double Radius { 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