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

Syntax

float4 Circle::ClosestPointToDisc(const float4 &point) const; [10 lines of code]

Computes the closest point on the disc of this circle to the given object.

See Also

DistanceToEdge(), DistanceToDisc(), ClosestPointToEdge().

Work in progress:

Todo: in float4 Circle::ClosestPointToDisc(const float4 &point) const:
Implement ClosestPointToDisc(Ray/LineSegment/Line).