Back to class index

Class Circle

Summary

A two-dimensional circle in 3D space.

Description

This class represents both a hollow circle (only edge) and a solid circle (disc).

Member Reference

CircleA two-dimensional circle in 3D space.
posThe center position of this circle.
normalThe normal direction of this circle.
rThe radius of the circle.
ctor (+1 overload)The default constructor does not initialize any members of this class.
BasisU()[const]Returns a normalized direction vector to the 'U direction' of the circle.
BasisV()[const]Returns a normalized direction vector to the 'V direction' of the circle.
GetPoint(angleRadians)[const] (+1 overload)Returns a point at the edge of this circle.
CenterPoint()[const]Returns the center point of this circle.
Centroid()[const]
ExtremePoint(direction)[const]Computes an extreme point of this Circle/Disc in the given direction.
ContainingPlane()[const]Computes the plane this circle is contained in.
Translate(offset)Translates this Circle in world space.
Transform(transform) (+3 overloads)Applies a transformation to this Circle.
EdgeContains(point,maxDistance)[const]Tests if the given point is contained at the edge of this circle.
DistanceToEdge(point)[const]Computes the distance of the given object to the edge of this circle.
DistanceToDisc(point)[const]Computes the distance of the given object to this disc (filled circle).
ClosestPointToEdge(point)[const]Computes the closest point on the edge of this circle to the given point.
ClosestPointToDisc(point)[const]Computes the closest point on the disc of this circle to the given object.
Intersects(plane,pt1,pt2)[const] (+1 overload)Tests this circle for an intersection against the given plane.
IntersectsDisc(line)[const] (+2 overloads)Tests this disc for an intersection against the given object.
IntersectsFaces(obb)[const] (+1 overload)Tests if this circle intersects the faces of the given OBB.
ToString()[const]Returns a human-readable representation of this circle. Most useful for debugging purposes.
Back to class index