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

Syntax

bool Circle::EdgeContains(const float4 &point, float maxDistance=1e-6f) const; [4 lines of code]

Tests if the given point is contained at the edge of this circle.

Parameters

const float4 &pointThe target point to test. floatmaxDistanceThe epsilon threshold to test the distance against. This effectively turns the circle into a torus for this test.

See Also

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

Work in progress:

Todo: in bool Circle::EdgeContains(const float4 &point, float maxDistance=1e-6f) const:
Implement DiscContains(float3/LineSegment/Triangle).