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

Syntax

float Circle::DistanceToEdge(const float4 &point) const; [4 lines of code]

Computes the distance of the given object to the edge of this circle.

Return Value

The distance of the given point to the edge of this circle. If the point is contained on this circle, the value 0 is returned.

See Also

DistanceToDisc(), ClosestPointToEdge(), ClosestPointToDisc().

Work in progress:

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