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::ExtremePoint

Syntax

float4 Circle::ExtremePoint(const float4 &direction) const; [8 lines of code]

Computes an extreme point of this Circle/Disc in the given direction.

An extreme point is a farthest point of this Circle/Disc in the given direction. Given a direction, this point is not necessarily unique.

Parameters

const float4 &directionThe direction vector of the direction to find the extreme point. This vector may be unnormalized, but may not be null.

Return Value

An extreme point of this Circle/Disc in the given direction. The returned point is always at the edge of this Circle.