Class Arc2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
What can be asked of an arc: where a point falls on it, how far a shape is from it, and where it meets a segment, a circle or another arc.
An arc is part of a circle, so every answer here is the circle's answer kept only where the arc actually reaches. A crossing beyond the ends of the arc belongs to the circle, not to the arc, and is left out; a point off the ends is measured to whichever end is nearer.
public static class Arc2
- Inheritance
-
Arc2
- Inherited Members
Remarks
A ray runs on for ever in one direction, so against an arc it is cut: into the segment from its origin out past the farthest the arc's circle reaches along it, the centre brought onto the ray and the radius added, by a margin of a millimetre or a hundred point tolerances, whichever is more. Every point of the arc lies behind that end, so the segment meets the arc where the ray does and is asked as any segment is. Against an arc of radius 50 round the origin, the ray from (-100, 0) along X is asked as the segment from there to (51, 0).
Methods
- DistanceTo(GeoArc2, GeoArc2)
Gets the distance between two arcs, using the default tolerance.
- DistanceTo(GeoArc2, GeoArc2, Tolerance)
Gets the distance between two arcs, within a tolerance.
- DistanceTo(GeoArc2, GeoCircle2)
Gets the distance between an arc and a circle.
- DistanceTo(GeoArc2, GeoCircle2, Tolerance)
Gets the distance between an arc and a circle, within a tolerance.
- DistanceTo(GeoArc2, GeoLine2)
Gets the distance between an arc and a segment, using the default tolerance.
- DistanceTo(GeoArc2, GeoLine2, Tolerance)
Gets the distance between an arc and a segment, within a tolerance.
- DistanceTo(GeoArc2, GeoPoint2)
Gets the distance from an arc to a point, using the default tolerance.
- DistanceTo(GeoArc2, GeoPoint2, Tolerance)
Gets the distance from an arc to a point, within a tolerance.
- DistanceTo(GeoArc2, GeoRay2)
Gets the distance between an arc and a ray, using the default tolerance.
- DistanceTo(GeoArc2, GeoRay2, Tolerance)
Gets the distance between an arc and a ray, within a tolerance.
- GetIntersections(GeoArc2, GeoArc2)
Gets where two arcs meet, using the default tolerance.
- GetIntersections(GeoArc2, GeoArc2, Tolerance)
Gets where two arcs meet, within a tolerance.
- GetIntersections(GeoArc2, GeoCircle2)
Gets where an arc meets a circle, using the default tolerance.
- GetIntersections(GeoArc2, GeoCircle2, Tolerance)
Gets where an arc meets a circle, within a tolerance.
- GetIntersections(GeoArc2, GeoLine2)
Gets where an arc meets a segment, using the default tolerance.
- GetIntersections(GeoArc2, GeoLine2, Tolerance)
Gets where an arc meets a segment, within a tolerance.
- GetIntersections(GeoArc2, GeoRay2)
Gets where an arc meets a ray, using the default tolerance.
- GetIntersections(GeoArc2, GeoRay2, Tolerance)
Gets where an arc meets a ray, within a tolerance.
- GetShortestLineTo(GeoArc2, GeoArc2)
Gets the shortest segment joining two arcs, using the default tolerance.
- GetShortestLineTo(GeoArc2, GeoArc2, Tolerance)
Gets the shortest segment joining two arcs, within a tolerance.
- GetShortestLineTo(GeoArc2, GeoCircle2)
Gets the shortest segment joining an arc to a circle, using the default tolerance.
- GetShortestLineTo(GeoArc2, GeoCircle2, Tolerance)
Gets the shortest segment joining an arc to a circle, within a tolerance.
- GetShortestLineTo(GeoArc2, GeoLine2)
Gets the shortest segment joining an arc to a straight segment, using the default tolerance.
- GetShortestLineTo(GeoArc2, GeoLine2, Tolerance)
Gets the shortest segment joining an arc to a straight segment, within a tolerance.
- GetShortestLineTo(GeoArc2, GeoPoint2)
Gets the shortest segment joining an arc to a point, using the default tolerance.
- GetShortestLineTo(GeoArc2, GeoPoint2, Tolerance)
Gets the shortest segment joining an arc to a point, within a tolerance.
- GetShortestLineTo(GeoArc2, GeoRay2)
Gets the shortest segment leaving an arc and landing on a ray, using the default tolerance.
- GetShortestLineTo(GeoArc2, GeoRay2, Tolerance)
Gets the shortest segment leaving an arc and landing on a ray, within a tolerance.
- IsPointOn(GeoArc2, GeoPoint2)
Determines whether a point lies on an arc, using the default tolerance.
- IsPointOn(GeoArc2, GeoPoint2, Tolerance)
Determines whether a point lies on an arc, within a tolerance.
- Locate(GeoArc2, GeoPoint2)
Says where a point sits relative to an arc, using the default tolerance.
- Locate(GeoArc2, GeoPoint2, Tolerance)
Says where a point sits relative to an arc, within a tolerance.
- ProjectToArc(GeoArc2, GeoPoint2)
Gets the point of an arc closest to a point, using the default tolerance.
- ProjectToArc(GeoArc2, GeoPoint2, Tolerance)
Gets the point of an arc closest to a point, within a tolerance.
- TryIntersectWith(GeoArc2, GeoArc2, out GeoPoint2[])
Finds where two arcs meet, using the default tolerance.
- TryIntersectWith(GeoArc2, GeoArc2, out GeoPoint2[], Tolerance)
Finds where two arcs meet, within a tolerance.
- TryIntersectWith(GeoArc2, GeoCircle2, out GeoPoint2[])
Finds where an arc meets a circle, using the default tolerance.
- TryIntersectWith(GeoArc2, GeoCircle2, out GeoPoint2[], Tolerance)
Finds where an arc meets a circle, within a tolerance.
- TryIntersectWith(GeoArc2, GeoLine2, out GeoPoint2[])
Finds where an arc meets a segment, using the default tolerance.
- TryIntersectWith(GeoArc2, GeoLine2, out GeoPoint2[], Tolerance)
Finds where an arc meets a segment, within a tolerance.
- TryIntersectWith(GeoArc2, GeoRay2, out GeoPoint2[])
Tries to find where an arc meets a ray, using the default tolerance.
- TryIntersectWith(GeoArc2, GeoRay2, out GeoPoint2[], Tolerance)
Tries to find where an arc meets a ray, within a tolerance.
- TrySplitAt(GeoArc2, GeoPoint2, out GeoArc2[])
Splits an arc at the point of it nearest a point, using the default tolerance.
- TrySplitAt(GeoArc2, GeoPoint2, out GeoArc2[], Tolerance)
Splits an arc at the point of it nearest a point, within a tolerance.
- TrySplitAt(GeoArc2, double, out GeoArc2[])
Splits an arc at a normalized parameter, using the default tolerance.
- TrySplitAt(GeoArc2, double, out GeoArc2[], Tolerance)
Splits an arc at a normalized parameter, within a tolerance.