Table of Contents

Struct GeoCircle3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Whether a circle touches another shape.

public readonly struct GeoCircle3 : IEquatable<GeoCircle3>
Implements
Inherited Members
Extension Methods

Constructors

GeoCircle3(GeoPlane3, double)

Initializes a new circle lying in a given plane.

GeoCircle3(GeoPoint3, GeoVector3, double)

Initializes a new circle.

Properties

Area

Gets the area of the disc.

Center

Gets the centre of the circle.

Diameter

Gets the diameter of the circle.

IsValid

Gets whether this is a shape a constructor could have made: the centre is a valid point, the normal of unit length and the radius a positive number.

Length

Gets the length of the circumference.

Normal

Gets the unit normal of the plane carrying the circle.

Radius

Gets the radius of the circle.

Methods

Clone()

Creates a copy of this circle.

CollidesWith(GeoAabb3)

Checks whether this circle touches an axis-aligned box, using the default tolerance.

CollidesWith(GeoAabb3, Tolerance)

Checks whether this circle touches an axis-aligned box, within a tolerance.

CollidesWith(GeoArc3)

Checks whether this circle touches an arc, using the default tolerance.

CollidesWith(GeoArc3, Tolerance)

Checks whether this circle touches an arc, within a tolerance.

CollidesWith(GeoCircle3)

Checks whether this circle touches a circle, using the default tolerance.

CollidesWith(GeoCircle3, Tolerance)

Checks whether this circle touches a circle, within a tolerance.

CollidesWith(GeoEdge3)

Checks whether this circle touches an edge.

CollidesWith(GeoEdge3, Tolerance)

Checks whether this circle touches an edge, within a tolerance.

CollidesWith(GeoEllipse3)

Checks whether this circle touches the rim of an ellipse in space, using the default tolerance.

CollidesWith(GeoEllipse3, Tolerance)

Checks whether this circle touches the rim of an ellipse in space, within a tolerance: the answer the ellipse gives asked of the circle, CollidesWith(GeoCircle3, Tolerance).

CollidesWith(GeoFace3)

Checks whether this circle touches a face, using the default tolerance.

CollidesWith(GeoFace3, Tolerance)

Checks whether this circle touches a face, within a tolerance.

CollidesWith(GeoLine3)

Checks whether this circle touches a segment, using the default tolerance.

CollidesWith(GeoLine3, Tolerance)

Checks whether this circle touches a segment, within a tolerance.

CollidesWith(GeoObb3)

Checks whether this circle touches an oriented box, using the default tolerance.

CollidesWith(GeoObb3, Tolerance)

Checks whether this circle touches an oriented box, within a tolerance.

CollidesWith(GeoPlane3)

Checks whether this circle touches a plane, using the default tolerance.

CollidesWith(GeoPlane3, Tolerance)

Checks whether this circle touches a plane, within a tolerance.

CollidesWith(GeoPolygon3)

Checks whether this circle touches a polygon, using the default tolerance.

CollidesWith(GeoPolygon3, Tolerance)

Checks whether this circle touches a polygon, within a tolerance.

CollidesWith(GeoPolygonArc3)

Checks whether this circle touches a curved loop.

CollidesWith(GeoPolygonArc3, Tolerance)

Checks whether this circle touches a curved loop, within a tolerance.

CollidesWith(GeoPolyline3)

Checks whether this circle touches a straight chain: the same answer as CollidesWith(GeoCircle3).

CollidesWith(GeoPolyline3, Tolerance)

Checks whether this circle touches a straight chain, within a tolerance: the same answer as CollidesWith(GeoCircle3, Tolerance).

CollidesWith(GeoPolylineArc3)

Checks whether this circle touches a curved chain.

CollidesWith(GeoPolylineArc3, Tolerance)

Checks whether this circle touches a curved chain, within a tolerance.

CollidesWith(GeoRay3)

Checks whether this circle touches a ray, using the default tolerance.

CollidesWith(GeoRay3, Tolerance)

Checks whether this circle touches a ray, within a tolerance.

CollidesWith(GeoSolid3)

Checks whether this circle touches a solid, using the default tolerance.

CollidesWith(GeoSolid3, Tolerance)

Checks whether this circle touches a solid, within a tolerance.

CollidesWith(GeoSphere3)

Determines whether this circle touches a ball, using the default tolerance.

CollidesWith(GeoSphere3, Tolerance)

Determines whether this circle touches a ball, within a tolerance.

CollidesWith(GeoSpline3)

Determines whether this circle touches a spline, using the default tolerance.

CollidesWith(GeoSpline3, Tolerance)

Determines whether this circle touches a spline, within a tolerance.

CollidesWith(GeoTriangle3)

Checks whether this circle touches a triangle, using the default tolerance.

CollidesWith(GeoTriangle3, Tolerance)

Checks whether this circle touches a triangle, within a tolerance.

CollidesWith(GeoXLine3)

Determines whether the rim of this circle touches an infinite line, using the default tolerance.

CollidesWith(GeoXLine3, Tolerance)

Determines whether the rim of this circle touches an infinite line, within a tolerance.

Contains(GeoPoint3)

Checks whether this disc holds a point, using the default tolerance.

Contains(GeoPoint3, Tolerance)

Checks whether this disc holds a point, within a tolerance.

DistanceTo(GeoPoint3)

Calculates the shortest distance from this disc to a point.

DistanceTo(GeoSphere3)

Calculates the shortest distance from this circle to a ball, using the default tolerance.

DistanceTo(GeoSphere3, Tolerance)

Calculates the shortest distance from this circle to a ball, within a tolerance.

DistanceTo(GeoSpline3)

Calculates the shortest distance from this circle to a spline, using the default tolerance.

DistanceTo(GeoSpline3, Tolerance)

Calculates the shortest distance from this circle to a spline, within a tolerance.

Equals(GeoCircle3)

Determines whether another circle has exactly the same centre, normal and radius.

Equals(object)

Determines whether the specified object is equal to the current circle.

GetAabb()

Gets the axis-aligned bounding box enclosing this circle.

GetClosestPointOnBoundary(GeoPoint3)

Gets the point on the circumference closest to a target point.

GetClosestPointOnSurface(GeoPoint3)

Gets the point of this disc closest to a target point, read as a filled surface.

GetDistanceAtParameter(double)

Gets the arc length from the zero parameter to a normalized parameter around the circumference.

GetDistanceAtPoint(GeoPoint3)

Gets the arc length from the zero parameter to the point on the circumference closest to the supplied point.

GetDistanceAtPoint(GeoPoint3, Tolerance)

Gets the arc length from the zero parameter to the point on the circumference closest to the supplied point, within a tolerance.

GetHashCode()

Returns the hash code for this instance.

GetIntersections(GeoAabb3)

Gets every point where this circle crosses the surface of an axis-aligned box, using the default tolerance.

GetIntersections(GeoAabb3, Tolerance)

Gets every point where this circle crosses the surface of an axis-aligned box, within a tolerance.

GetIntersections(GeoArc3)

Gets every point where this circle crosses an arc, using the default tolerance.

GetIntersections(GeoArc3, Tolerance)

Gets every point where this circle crosses an arc, within a tolerance.

GetIntersections(GeoCircle3)

Gets every point where this circle crosses a circle, using the default tolerance.

GetIntersections(GeoCircle3, Tolerance)

Gets every point where this circle crosses a circle, within a tolerance.

GetIntersections(GeoEdge3)

Gets every point where an edge crosses this circle.

GetIntersections(GeoEdge3, Tolerance)

Gets every point where an edge crosses this circle, within a tolerance.

GetIntersections(GeoEllipse3)

Gets every point where this circle crosses the rim of an ellipse in space, using the default tolerance.

GetIntersections(GeoEllipse3, Tolerance)

Gets every point where this circle crosses the rim of an ellipse in space, within a tolerance: the points the ellipse gives asked of the circle, in the same order, GetIntersections(GeoCircle3, Tolerance).

GetIntersections(GeoFace3)

Gets every point where this circle crosses a face, using the default tolerance.

GetIntersections(GeoFace3, Tolerance)

Gets every point where this circle crosses a face, within a tolerance.

GetIntersections(GeoLine3)

Gets every point where this circle crosses a segment, using the default tolerance.

GetIntersections(GeoLine3, Tolerance)

Gets every point where this circle crosses a segment, within a tolerance.

GetIntersections(GeoObb3)

Gets every point where this circle crosses the surface of an oriented box, using the default tolerance.

GetIntersections(GeoObb3, Tolerance)

Gets every point where this circle crosses the surface of an oriented box, within a tolerance.

GetIntersections(GeoPlane3)

Gets every point where this circle crosses a plane, using the default tolerance.

GetIntersections(GeoPlane3, Tolerance)

Gets every point where this circle crosses a plane, within a tolerance.

GetIntersections(GeoPolygon3)

Gets every point where this circle crosses a polygon, using the default tolerance.

GetIntersections(GeoPolygon3, Tolerance)

Gets every point where this circle crosses a polygon, within a tolerance.

GetIntersections(GeoPolygonArc3)

Gets every point where a curved loop crosses this circle.

GetIntersections(GeoPolygonArc3, Tolerance)

Gets every point where a curved loop crosses this circle, within a tolerance.

GetIntersections(GeoPolyline3)

Gets every point where this circle crosses a straight chain: the same points, in the same order, as GetIntersections(GeoCircle3).

GetIntersections(GeoPolyline3, Tolerance)

Gets every point where this circle crosses a straight chain, within a tolerance: the same points, in the same order, as GetIntersections(GeoCircle3, Tolerance).

GetIntersections(GeoPolylineArc3)

Gets every point where a curved chain crosses this circle.

GetIntersections(GeoPolylineArc3, Tolerance)

Gets every point where a curved chain crosses this circle, within a tolerance.

GetIntersections(GeoRay3)

Gets every point where this circle crosses a ray, using the default tolerance.

GetIntersections(GeoRay3, Tolerance)

Gets every point where this circle crosses a ray, within a tolerance.

GetIntersections(GeoSolid3)

Gets every point where this circle crosses the surface of a solid, using the default tolerance.

GetIntersections(GeoSolid3, Tolerance)

Gets every point where this circle crosses the surface of a solid, within a tolerance.

GetIntersections(GeoSphere3)

Gets the points where this circle crosses the surface of a ball, using the default tolerance.

GetIntersections(GeoSphere3, Tolerance)

Gets the points where this circle crosses the surface of a ball, within a tolerance.

GetIntersections(GeoSpline3)

Gets the points where this circle meets a spline, using the default tolerance.

GetIntersections(GeoSpline3, Tolerance)

Gets the points where this circle meets a spline, within a tolerance.

GetIntersections(GeoTriangle3)

Gets every point where this circle crosses a triangle, using the default tolerance.

GetIntersections(GeoTriangle3, Tolerance)

Gets every point where this circle crosses a triangle, within a tolerance.

GetIntersections(GeoXLine3)

Gets the points where the rim of this circle crosses an infinite line, using the default tolerance.

GetIntersections(GeoXLine3, Tolerance)

Gets the points where the rim of this circle crosses an infinite line, within a tolerance.

GetParameterAtDistance(double)

Gets the normalized parameter at an arc length measured around the circumference.

GetParameterAtPoint(GeoPoint3)

Gets the normalized parameter of the point on the circumference closest to the supplied point.

GetParameterAtPoint(GeoPoint3, Tolerance)

Gets the normalized parameter of the point on the circumference closest to the supplied point, within a tolerance.

GetPlane()

Gets the plane carrying the circle.

GetPointAtAngle(double)

Gets the point on the circumference at a given angle.

GetPointAtDistance(double)

Gets the point on the circumference at an arc length measured from the zero parameter.

GetPointAtParameter(double)

Gets the point on the circumference at a normalized parameter, where 0 and 1 are the same point. The parameter wraps, so 1.25 gives the same point as 0.25.

GetShortestLineTo(GeoPoint3)

Gets the shortest segment joining this circle to a point, using the default tolerance.

GetShortestLineTo(GeoPoint3, Tolerance)

Gets the shortest segment joining this circle to a point, within a tolerance.

GetShortestLineTo(GeoPolygonArc3)

Gets the shortest line from this circle to the boundary of a curved loop in the same plane: GetShortestLineTo(GeoCircle3) turned round, so that it leaves this circle and lands on the loop.

GetShortestLineTo(GeoPolygonArc3, Tolerance)

Gets the shortest line from this circle to the boundary of a curved loop in the same plane, within a tolerance: GetShortestLineTo(GeoCircle3, Tolerance) turned round, so that it leaves this circle and lands on the loop.

GetShortestLineTo(GeoSphere3)

Gets the shortest segment leaving this circle and landing on a ball, using the default tolerance.

GetShortestLineTo(GeoSphere3, Tolerance)

Gets the shortest segment leaving this circle and landing on a ball, within a tolerance.

GetShortestLineTo(GeoSpline3)

Gets the shortest segment leaving this circle and landing on a spline, using the default tolerance.

GetShortestLineTo(GeoSpline3, Tolerance)

Gets the shortest segment leaving this circle and landing on a spline, within a tolerance.

IsEqualTo(GeoCircle3)

Compares whether this circle equals another using the default tolerance.

IsEqualTo(GeoCircle3, Tolerance)

Compares whether this circle equals another within a tolerance.

IsPointOn(GeoPoint3)

Checks whether a point lies on the circumference, using the default tolerance.

IsPointOn(GeoPoint3, Tolerance)

Checks whether a point lies on the circumference, within a tolerance.

Locate(GeoPoint3)

Locates a point relative to this disc, using the default tolerance.

Locate(GeoPoint3, Tolerance)

Locates a point relative to this disc, within a tolerance.

ProjectToEllipse2(GeoCoordinateSystem3)

Lays this circle out in the plane of a frame, projecting it square onto that plane: an ellipse, or a circle where this one lies in or parallel to the plane.

ProjectToPlane(GeoPlane3)

Gets the circle seen square onto a plane: every point of it projected along the plane's normal, which is an ellipse. A circle of radius 300 tilted 60° from the plan is, in the plan, an ellipse 300 by 150.

ToMesh(MeshKind)

Breaks the disc into faces of a kind, its grid level, using the default tolerance. A grid needs the size of its cells, which ToMesh(MeshOptions) takes.

ToMesh(MeshOptions)

Breaks the disc into faces as the options say, its grid level, with the second axis up the slope, using the default tolerance.

ToMesh(MeshOptions, MeshPlacement3)

Breaks the disc into faces as the options say, its grid standing as the placement says, using the default tolerance.

ToMesh(MeshOptions, MeshPlacement3, Tolerance)

Breaks the disc into faces as the options say, its grid standing as the placement says, within a tolerance: triangles, the cells of a grid, strips or convex pieces, each a simple polygon with no hole, counter-clockwise about the normal, meeting its neighbours edge to edge.

ToMesh(MeshOptions, Tolerance)

Breaks the disc into faces as the options say, its grid level, with the second axis up the slope, within a tolerance.

ToPolygon()

Approximates the circle as a polygon, cut finely enough that it strays no further from the circle than GeometryHelper.Internal.Tessellation.AutomaticChordRatio of its radius.

ToPolygon(int)

Approximates the circle as a polygon.

ToPolygonByChordTolerance(double)

Approximates the circle as a polygon that strays no further from it than a chord tolerance.

ToPolygonBySpacing(double)

Approximates the circle as a polygon whose vertices are no further apart than a spacing.

ToPolyline()

Approximates the circle as a chain, cut by the automatic chord tolerance.

ToPolyline(int)

Approximates the circle as a chain with a given number of pieces.

ToPolylineByChordTolerance(double)

Approximates the circle as a chain that strays no further from it than a chord tolerance.

ToPolylineBySpacing(double)

Approximates the circle as a chain whose points are no further apart than a spacing.

ToString()

Returns a string that represents the current circle.

TransformBy(GeoTransform3)

Applies a transformation to this circle.

Translate(GeoVector3)

Moves the circle by a vector.

TryIntersectWith(GeoAabb3, out GeoPoint3[])

Tries to find where this circle crosses the surface of an axis-aligned box, using the default tolerance.

TryIntersectWith(GeoAabb3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses the surface of an axis-aligned box, within a tolerance.

TryIntersectWith(GeoArc3, out GeoPoint3[])

Tries to find where this circle crosses an arc, using the default tolerance.

TryIntersectWith(GeoArc3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses an arc, within a tolerance.

TryIntersectWith(GeoCircle3, out GeoPoint3[])

Tries to find where this circle crosses a circle, using the default tolerance.

TryIntersectWith(GeoCircle3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a circle, within a tolerance.

TryIntersectWith(GeoEdge3, out GeoPoint3[])

Tries to find where an edge crosses this circle.

TryIntersectWith(GeoEdge3, out GeoPoint3[], Tolerance)

Tries to find where an edge crosses this circle, within a tolerance.

TryIntersectWith(GeoEllipse3, out GeoPoint3[])

Tries to find where this circle crosses the rim of an ellipse in space, using the default tolerance.

TryIntersectWith(GeoEllipse3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses the rim of an ellipse in space, within a tolerance: the points the ellipse gives asked of the circle, in the same order.

TryIntersectWith(GeoFace3, out GeoPoint3[])

Tries to find where this circle crosses a face, using the default tolerance.

TryIntersectWith(GeoFace3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a face, within a tolerance.

TryIntersectWith(GeoLine3, out GeoPoint3[])

Tries to find where this circle crosses a segment, using the default tolerance.

TryIntersectWith(GeoLine3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a segment, within a tolerance.

TryIntersectWith(GeoObb3, out GeoPoint3[])

Tries to find where this circle crosses the surface of an oriented box, using the default tolerance.

TryIntersectWith(GeoObb3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses the surface of an oriented box, within a tolerance.

TryIntersectWith(GeoPlane3, out GeoPoint3[])

Tries to find where this circle crosses a plane, using the default tolerance.

TryIntersectWith(GeoPlane3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a plane, within a tolerance.

TryIntersectWith(GeoPolygon3, out GeoPoint3[])

Tries to find where this circle crosses a polygon, using the default tolerance.

TryIntersectWith(GeoPolygon3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a polygon, within a tolerance.

TryIntersectWith(GeoPolyline3, out GeoPoint3[])

Tries to find where this circle crosses a straight chain: the same answer, and the same points in the same order, as TryIntersectWith(GeoCircle3, out GeoPoint3[]).

TryIntersectWith(GeoPolyline3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a straight chain, within a tolerance: the same answer, and the same points in the same order, as TryIntersectWith(GeoCircle3, out GeoPoint3[], Tolerance).

TryIntersectWith(GeoRay3, out GeoPoint3[])

Tries to find where this circle crosses a ray, using the default tolerance.

TryIntersectWith(GeoRay3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a ray, within a tolerance.

TryIntersectWith(GeoSolid3, out GeoPoint3[])

Tries to find where this circle crosses the surface of a solid, using the default tolerance.

TryIntersectWith(GeoSolid3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses the surface of a solid, within a tolerance.

TryIntersectWith(GeoSphere3, out GeoPoint3[])

Tries to find where this circle crosses the surface of a ball, using the default tolerance.

TryIntersectWith(GeoSphere3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses the surface of a ball, within a tolerance.

TryIntersectWith(GeoSpline3, out GeoPoint3[])

Tries to find where this circle meets a spline, using the default tolerance.

TryIntersectWith(GeoSpline3, out GeoPoint3[], Tolerance)

Tries to find where this circle meets a spline, within a tolerance.

TryIntersectWith(GeoTriangle3, out GeoPoint3[])

Tries to find where this circle crosses a triangle, using the default tolerance.

TryIntersectWith(GeoTriangle3, out GeoPoint3[], Tolerance)

Tries to find where this circle crosses a triangle, within a tolerance.

TryIntersectWith(GeoXLine3, out GeoPoint3[])

Tries to find where the rim of this circle crosses an infinite line, using the default tolerance.

TryIntersectWith(GeoXLine3, out GeoPoint3[], Tolerance)

Tries to find where the rim of this circle crosses an infinite line, within a tolerance.

TryOffset(double, out GeoCircle3)

Grows this circle within its plane by a distance, or shrinks it when the distance is negative, using the default tolerance.

TryOffset(double, out GeoCircle3, Tolerance)

Grows this circle within its plane by a distance, or shrinks it when the distance is negative, within a tolerance.

Operators

operator ==(GeoCircle3, GeoCircle3)

Checks if two circles have exactly the same centre, normal and radius.

operator !=(GeoCircle3, GeoCircle3)

Checks if two circles differ in centre, normal or radius.