Table of Contents

Class Projection3

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

The shortest segment joining a segment or a straight chain to a plane, a polygon, a triangle or another chain.

public static class Projection3
Inheritance
Projection3
Inherited Members

Remarks

These are the pairs Distance3 could measure and could not draw. Each is built from the joining lines already here: segment to segment, segment to triangle, and point to shape. The segment leaves the shape named first and lands on the other, both ends lie on their shapes, and it is as long as the distance. A segment to a polygon and the chain to a segment or to another chain are where those distances are now read from.

A polygon is read as a filled surface, as its distance reads it, so a chain passing through one meets it in a segment of no length at the crossing, and a chain ending above it is joined straight down. A chain that comes at a polygon or a triangle end-on and stops within the point tolerance of it is read as crossing it, as the segment to a triangle always has: the segment of no length then sits at that end, up to the tolerance off the surface, while Distance3 reads the gap, which is exact: the segment from (5, 5, 0.0004) to (5, 5, 9) over the square 100 by 100 in the floor is joined by a segment of no length at (5, 5, 0.0004), and is 0.0004 from it by its distance. One lying level within the tolerance is joined by its true gap, which is its distance too.

A plane is endless, so a shape that crosses or touches it is joined by a segment of no length at the first point of contact in the shape's own order: along a segment from its start, and edge by edge along a chain. A shape clear of the plane is joined from its nearest point, which is a vertex, and where several are equally near as the arithmetic reads them, from the first of them. A shape lying parallel to a plane that is not level has heights that differ in their last digits, so it may be joined from any of its nearest vertices; the length is the same. The segment is never snapped: a chain standing 0.0004 above the plane is joined by a segment 0.0004 long, though its distance, read within the point tolerance, is nought.

Where two candidates are equally short, the one met first stands: the edges of a chain in order, and for two chains, each edge of the first against every edge of the second in turn.

Methods

GetShortestLineTo(GeoCircle3, GeoPoint3)

Gets the shortest segment joining a circular disc to a point.

GetShortestLineTo(GeoCircle3, GeoPoint3, Tolerance)

Gets the shortest segment joining a circular disc to a point, within a tolerance.

GetShortestLineTo(GeoFace3, GeoFace3)

Gets the shortest segment joining the materials of two faces.

GetShortestLineTo(GeoFace3, GeoFace3, Tolerance)

Gets the shortest segment joining the materials of two faces, within a tolerance.

GetShortestLineTo(GeoFace3, GeoPlane3)

Gets the shortest segment joining the material of a face to a plane.

GetShortestLineTo(GeoFace3, GeoPlane3, Tolerance)

Gets the shortest segment joining the material of a face to a plane.

GetShortestLineTo(GeoFace3, GeoPoint3)

Gets the shortest segment joining a face to a point.

GetShortestLineTo(GeoFace3, GeoPoint3, Tolerance)

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

GetShortestLineTo(GeoFace3, GeoPolygon3)

Gets the shortest segment joining the material of a face to a polygon.

GetShortestLineTo(GeoFace3, GeoPolygon3, Tolerance)

Gets the shortest segment joining the material of a face to a polygon, within a tolerance.

GetShortestLineTo(GeoLine3, GeoFace3)

Gets the shortest segment joining a line segment to the material of a face.

GetShortestLineTo(GeoLine3, GeoFace3, Tolerance)

Gets the shortest segment joining a line segment to the material of a face, within a tolerance.

GetShortestLineTo(GeoLine3, GeoLine3)

Finds the shortest segment connecting a point on one line segment to a point on another, using the default tolerance.

GetShortestLineTo(GeoLine3, GeoLine3, LineExtension)

Finds the shortest segment connecting two line segments, reading either or both as the infinite line carrying it, using the default tolerance.

GetShortestLineTo(GeoLine3, GeoLine3, LineExtension, Tolerance)

Finds the shortest segment connecting two line segments, reading either or both as the infinite line carrying it, within a tolerance.

GetShortestLineTo(GeoLine3, GeoLine3, Tolerance)

Finds the shortest segment connecting a point on one line segment to a point on another, within a tolerance.

GetShortestLineTo(GeoLine3, GeoPlane3)

Gets the shortest segment joining a line segment to a plane.

GetShortestLineTo(GeoLine3, GeoPlane3, Tolerance)

Gets the shortest segment joining a line segment to a plane.

GetShortestLineTo(GeoLine3, GeoPoint3)

Gets the shortest segment joining a line segment to a point.

GetShortestLineTo(GeoLine3, GeoPoint3, Tolerance)

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

GetShortestLineTo(GeoLine3, GeoPolygon3)

Gets the shortest segment joining a line segment to a polygon.

GetShortestLineTo(GeoLine3, GeoPolygon3, Tolerance)

Gets the shortest segment joining a line segment to a polygon, within a tolerance.

GetShortestLineTo(GeoLine3, GeoTriangle3)

Gets the shortest segment joining a segment to a triangle.

GetShortestLineTo(GeoLine3, GeoTriangle3, Tolerance)

Gets the shortest segment joining a segment to a triangle, within a tolerance.

GetShortestLineTo(GeoPlane3, GeoPoint3)

Gets the shortest segment joining a plane to a point.

GetShortestLineTo(GeoPlane3, GeoPoint3, Tolerance)

Gets the shortest segment joining a plane to a point.

GetShortestLineTo(GeoPolygon3, GeoPlane3)

Gets the shortest segment joining a polygon to a plane.

GetShortestLineTo(GeoPolygon3, GeoPlane3, Tolerance)

Gets the shortest segment joining a polygon to a plane.

GetShortestLineTo(GeoPolygon3, GeoPoint3)

Gets the shortest segment joining a polygon to a point.

GetShortestLineTo(GeoPolygon3, GeoPoint3, Tolerance)

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

GetShortestLineTo(GeoPolygon3, GeoPolygon3)

Gets the shortest segment joining two polygons.

GetShortestLineTo(GeoPolygon3, GeoPolygon3, Tolerance)

Gets the shortest segment joining two polygons, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoFace3)

Gets the shortest segment joining a polyline to the material of a face.

GetShortestLineTo(GeoPolyline3, GeoFace3, Tolerance)

Gets the shortest segment joining a polyline to the material of a face, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoLine3)

Gets the shortest segment joining a polyline to a line segment.

GetShortestLineTo(GeoPolyline3, GeoLine3, Tolerance)

Gets the shortest segment joining a polyline to a line segment, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoPlane3)

Gets the shortest segment joining a polyline to a plane.

GetShortestLineTo(GeoPolyline3, GeoPlane3, Tolerance)

Gets the shortest segment joining a polyline to a plane, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoPoint3)

Gets the shortest segment joining a polyline to a point.

GetShortestLineTo(GeoPolyline3, GeoPoint3, Tolerance)

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

GetShortestLineTo(GeoPolyline3, GeoPolygon3)

Gets the shortest segment joining a polyline to a polygon.

GetShortestLineTo(GeoPolyline3, GeoPolygon3, Tolerance)

Gets the shortest segment joining a polyline to a polygon, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoPolyline3)

Gets the shortest segment joining two polylines.

GetShortestLineTo(GeoPolyline3, GeoPolyline3, Tolerance)

Gets the shortest segment joining two polylines, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoRay3)

Gets the shortest segment joining a polyline to a ray.

GetShortestLineTo(GeoPolyline3, GeoRay3, Tolerance)

Gets the shortest segment joining a polyline to a ray, within a tolerance.

GetShortestLineTo(GeoPolyline3, GeoTriangle3)

Gets the shortest segment joining a polyline to a triangle.

GetShortestLineTo(GeoPolyline3, GeoTriangle3, Tolerance)

Gets the shortest segment joining a polyline to a triangle, within a tolerance.

GetShortestLineTo(GeoRay3, GeoFace3)

Gets the shortest segment joining a ray to the material of a face.

GetShortestLineTo(GeoRay3, GeoFace3, Tolerance)

Gets the shortest segment joining a ray to the material of a face, within a tolerance.

GetShortestLineTo(GeoRay3, GeoLine3)

Gets the shortest segment joining a ray to a line segment.

GetShortestLineTo(GeoRay3, GeoLine3, Tolerance)

Gets the shortest segment joining a ray to a line segment, within a tolerance.

GetShortestLineTo(GeoRay3, GeoPlane3)

Gets the shortest segment joining a ray to a plane.

GetShortestLineTo(GeoRay3, GeoPlane3, Tolerance)

Gets the shortest segment joining a ray to a plane.

GetShortestLineTo(GeoRay3, GeoPoint3)

Gets the shortest segment joining a ray to a point.

GetShortestLineTo(GeoRay3, GeoPoint3, Tolerance)

Gets the shortest segment joining a ray to a point.

GetShortestLineTo(GeoRay3, GeoPolygon3)

Gets the shortest segment joining a ray to a polygon.

GetShortestLineTo(GeoRay3, GeoPolygon3, Tolerance)

Gets the shortest segment joining a ray to a polygon, within a tolerance.

GetShortestLineTo(GeoRay3, GeoRay3)

Gets the shortest segment joining two rays.

GetShortestLineTo(GeoRay3, GeoRay3, Tolerance)

Gets the shortest segment joining two rays.

GetShortestLineTo(GeoRay3, GeoTriangle3)

Gets the shortest segment joining a ray to a triangle.

GetShortestLineTo(GeoRay3, GeoTriangle3, Tolerance)

Gets the shortest segment joining a ray to a triangle, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoFace3)

Gets the shortest segment joining a solid to the material of a face.

GetShortestLineTo(GeoSolid3, GeoFace3, Tolerance)

Gets the shortest segment joining a solid to the material of a face, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoLine3)

Gets the shortest segment joining a solid to a segment.

GetShortestLineTo(GeoSolid3, GeoLine3, Tolerance)

Gets the shortest segment joining a solid to a segment, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoPlane3)

Gets the shortest segment joining a solid to a plane.

GetShortestLineTo(GeoSolid3, GeoPlane3, Tolerance)

Gets the shortest segment joining a solid to a plane, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoPoint3)

Gets the shortest segment joining a solid to a point.

GetShortestLineTo(GeoSolid3, GeoPoint3, Tolerance)

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

GetShortestLineTo(GeoSolid3, GeoPolygon3)

Gets the shortest segment joining a solid to a polygon.

GetShortestLineTo(GeoSolid3, GeoPolygon3, Tolerance)

Gets the shortest segment joining a solid to a polygon, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoPolyline3)

Gets the shortest segment joining a solid to a polyline.

GetShortestLineTo(GeoSolid3, GeoPolyline3, Tolerance)

Gets the shortest segment joining a solid to a polyline, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoRay3)

Gets the shortest segment joining a solid to a ray.

GetShortestLineTo(GeoSolid3, GeoRay3, Tolerance)

Gets the shortest segment joining a solid to a ray, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoSolid3)

Gets the shortest segment joining two solids.

GetShortestLineTo(GeoSolid3, GeoSolid3, Tolerance)

Gets the shortest segment joining two solids, within a tolerance.

GetShortestLineTo(GeoSolid3, GeoTriangle3)

Gets the shortest segment joining a solid to a triangle.

GetShortestLineTo(GeoSolid3, GeoTriangle3, Tolerance)

Gets the shortest segment joining a solid to a triangle, within a tolerance.

GetShortestLineTo(GeoTriangle3, GeoFace3)

Gets the shortest segment joining a triangle to the material of a face.

GetShortestLineTo(GeoTriangle3, GeoFace3, Tolerance)

Gets the shortest segment joining a triangle to the material of a face, within a tolerance.

GetShortestLineTo(GeoTriangle3, GeoPlane3)

Gets the shortest segment joining a triangle to a plane.

GetShortestLineTo(GeoTriangle3, GeoPlane3, Tolerance)

Gets the shortest segment joining a triangle to a plane.

GetShortestLineTo(GeoTriangle3, GeoPoint3)

Gets the shortest segment joining a triangle to a point.

GetShortestLineTo(GeoTriangle3, GeoPoint3, Tolerance)

Gets the shortest segment joining a triangle to a point.

GetShortestLineTo(GeoTriangle3, GeoPolygon3)

Gets the shortest segment joining a triangle to a polygon.

GetShortestLineTo(GeoTriangle3, GeoPolygon3, Tolerance)

Gets the shortest segment joining a triangle to a polygon, within a tolerance.

GetShortestLineTo(GeoTriangle3, GeoTriangle3)

Gets the shortest segment joining two triangles.

GetShortestLineTo(GeoTriangle3, GeoTriangle3, Tolerance)

Gets the shortest segment joining two triangles, within a tolerance.

Project(GeoVector3, GeoVector3)

Projects a vector onto an axis vector.

Project(GeoVector3, GeoVector3, Tolerance)

Projects a vector onto an axis vector, within a tolerance.

ProjectOntoPlane(GeoVector3, GeoVector3)

Projects a vector onto a plane through the origin, dropping its component along the normal.

ProjectOntoPlane(GeoVector3, GeoVector3, Tolerance)

Projects a vector onto a plane through the origin, within a tolerance.

ProjectToCircle(GeoCircle3, GeoPoint3)

Projects a point onto the circumference of a circle.

ProjectToCircle(GeoCircle3, GeoPoint3, Tolerance)

Projects a point onto the circumference of a circle, within a tolerance.

ProjectToDisc(GeoCircle3, GeoPoint3)

Projects a point onto a circular disc, read as a filled surface.

ProjectToDisc(GeoCircle3, GeoPoint3, Tolerance)

Projects a point onto a circular disc, read as a filled surface, within a tolerance.

ProjectToFace(GeoFace3, GeoPoint3)

Gets the point of a face nearest another point.

ProjectToFace(GeoFace3, GeoPoint3, Tolerance)

Gets the point of a face nearest another point, within a tolerance.

ProjectToInfiniteLine(GeoLine3, GeoPoint3)

Projects a point onto the infinite line carrying a segment, without clamping.

ProjectToInfiniteLine(GeoLine3, GeoPoint3, Tolerance)

Projects a point onto the infinite line carrying a segment, without clamping, within a tolerance.

ProjectToLine(GeoLine3, GeoPoint3)

Projects a point onto a line segment, clamped to its endpoints.

ProjectToLine(GeoLine3, GeoPoint3, Tolerance)

Projects a point onto a line segment, clamped to its endpoints, within a tolerance.

ProjectToObb(GeoObb3, GeoPoint3)

Projects a point onto an oriented box, read as a filled volume.

ProjectToObbSurface(GeoObb3, GeoPoint3)

Projects a point onto the surface of an oriented box, never returning a point inside it.

ProjectToPlane(GeoPlane3, GeoPoint3)

Projects a point onto a plane.

ProjectToPolygon(GeoPolygon3, GeoPoint3)

Projects a point onto a polygon, read as a filled surface.

ProjectToPolygon(GeoPolygon3, GeoPoint3, Tolerance)

Projects a point onto a polygon, read as a filled surface, within a tolerance.

ProjectToPolygonBoundary(GeoPolygon3, GeoPoint3)

Projects a point onto the boundary of a polygon, ignoring its interior.

ProjectToPolygonBoundary(GeoPolygon3, GeoPoint3, Tolerance)

Projects a point onto the boundary of a polygon, ignoring its interior, within a tolerance.

ProjectToPolyline(GeoPolyline3, GeoPoint3)

Projects a point onto a polyline, clamped to the chain.

ProjectToPolyline(GeoPolyline3, GeoPoint3, Tolerance)

Projects a point onto a polyline, clamped to the chain, within a tolerance.

ProjectToRay(GeoRay3, GeoPoint3)

Projects a point onto a ray, clamped to its origin.

ProjectToSolid(GeoSolid3, GeoPoint3)

Projects a point onto the surface of a solid.

ProjectToSolid(GeoSolid3, GeoPoint3, Tolerance)

Projects a point onto the surface of a solid, within a tolerance.

ProjectToTriangle(GeoTriangle3, GeoPoint3)

Projects a point onto a triangle, clamped to its edges.