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

Syntax

float4 Circle::ClosestPointToEdge(const float4 &point) const; [8 lines of code]

Computes the closest point on the edge of this circle to the given point.

See Also

DistanceToEdge(), DistanceToDisc(), ClosestPointToDisc().

Work in progress:

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