Back to class index
Circle[Class Summary]
pos
normal
r
ctor (+1 overload)
BasisU()[const]
BasisV()[const]
GetPoint(angleRadians)[const] (+1 overload)
CenterPoint()[const]
Centroid()[const]
ExtremePoint(direction)[const]
ContainingPlane()[const]
Translate(offset)
Transform(transform) (+3 overloads)
EdgeContains(point,maxDistance)[const]
DistanceToEdge(point)[const]
DistanceToDisc(point)[const]
ClosestPointToEdge(point)[const]
ClosestPointToDisc(point)[const]
Intersects(plane,pt1,pt2)[const] (+1 overload)
IntersectsDisc(line)[const] (+2 overloads)
IntersectsFaces(obb)[const] (+1 overload)
ToString()[const]

Circle::IntersectsFaces

Syntax

VecArray Circle::IntersectsFaces(const OBB &obb) const; [15 lines of code]
VecArray Circle::IntersectsFaces(const AABB &aabb) const; [4 lines of code]

Tests if this circle intersects the faces of the given OBB.

Parameters

const OBB &obbThe bounding box to test against. This box is treated as "hollow", i.e. only the faces of the OBB are considered to be a part of the OBB.

Return Value

A vector that contains all the detected points of intersection for this circle and the given OBB. If the circle is fully contained inside the OBB, or is fully outside the OBB, no intersection occurs, and the returned vector has zero elements.

See Also

Intersects(), IntersectsDisc().