Table of Contents

Struct GeoPoint3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Whether a point touches another shape.

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

Constructors

GeoPoint3(GeoPoint3)

Initializes a new point from another point.

GeoPoint3(double, double, double)

Initializes a new point.

Properties

IsValid

Gets whether this is a shape a constructor could have made: every coordinate is a finite number.

Origin

Gets the point at the global origin (0, 0, 0).

X

Gets the X coordinate of the point.

Y

Gets the Y coordinate of the point.

Z

Gets the Z coordinate of the point.

Methods

Add(GeoVector3)

Translates the point by a vector.

Clone()

Creates a copy of this point.

DistanceTo(GeoAabb3)

Calculates the shortest distance to an axis-aligned box. A point inside is at distance zero.

DistanceTo(GeoArc3)

Gets the distance from this point to an arc: the same answer as DistanceTo(GeoPoint3).

DistanceTo(GeoArc3, Tolerance)

Gets the distance from this point to an arc, within a tolerance: the same answer as DistanceTo(GeoPoint3, Tolerance).

DistanceTo(GeoCircle3)

Calculates the shortest distance to a circular disc, read as a filled surface.

DistanceTo(GeoEdge3)

Gets the distance from this point to an edge: the same answer as DistanceTo(GeoPoint3).

DistanceTo(GeoEdge3, Tolerance)

Gets the distance from this point to an edge, within a tolerance: the same answer as DistanceTo(GeoPoint3, Tolerance).

DistanceTo(GeoFace3)

Calculates the shortest distance to a face, holes respected.

DistanceTo(GeoFace3, Tolerance)

Calculates the shortest distance to a face, holes respected, within a tolerance: the same answer as DistanceTo(GeoPoint3, Tolerance).

DistanceTo(GeoLine3)

Calculates the shortest distance to a line segment.

DistanceTo(GeoObb3)

Calculates the shortest distance to an oriented box. A point inside is at distance zero.

DistanceTo(GeoPlane3)

Calculates the perpendicular distance to a plane.

DistanceTo(GeoPoint3)

Calculates the Euclidean distance to another point.

DistanceTo(GeoPolygon3)

Calculates the shortest distance to a polygon, read as a filled surface.

DistanceTo(GeoPolygonArc3)

Gets the distance from this point to a curved loop: the same answer as DistanceTo(GeoPoint3).

DistanceTo(GeoPolygonArc3, Tolerance)

Gets the distance from this point to a curved loop, within a tolerance: the same answer as DistanceTo(GeoPoint3, Tolerance).

DistanceTo(GeoPolyline3)

Calculates the shortest distance to a polyline.

DistanceTo(GeoPolylineArc3)

Gets the distance from this point to a curved chain: the same answer as DistanceTo(GeoPoint3).

DistanceTo(GeoPolylineArc3, Tolerance)

Gets the distance from this point to a curved chain, within a tolerance: the same answer as DistanceTo(GeoPoint3, Tolerance).

DistanceTo(GeoRay3)

Calculates the shortest distance to a ray.

DistanceTo(GeoSolid3)

Calculates the shortest distance to a solid. A point inside is at distance zero.

DistanceTo(GeoSolid3, Tolerance)

Calculates the shortest distance to a solid, within a tolerance: the same answer as DistanceTo(GeoPoint3, Tolerance).

DistanceTo(GeoSphere3)

Calculates the shortest distance from this point to a ball.

DistanceTo(GeoSpline3)

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

DistanceTo(GeoSpline3, Tolerance)

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

DistanceTo(GeoTriangle3)

Calculates the shortest distance to a triangle.

DistanceTo(GeoXLine3)

Calculates the shortest distance from this point to an infinite line, using the default tolerance.

DistanceTo(GeoXLine3, Tolerance)

Calculates the shortest distance from this point to an infinite line, within a tolerance.

Equals(GeoPoint3)

Determines whether the specified point has exactly the same coordinates as this point.

Equals(object)

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

GetClosestPointOnBoundary(GeoAabb3)

Gets the closest point of an axis-aligned box to this point.

GetClosestPointOnBoundary(GeoCircle3)

Gets the closest point on the circumference of a circle to this point.

GetClosestPointOnBoundary(GeoLine3)

Gets the closest point on a line segment to this point, clamped to its endpoints.

GetClosestPointOnBoundary(GeoObb3)

Gets the closest point of an oriented box to this point.

GetClosestPointOnBoundary(GeoPlane3)

Gets the closest point on a plane to this point.

GetClosestPointOnBoundary(GeoPolygon3)

Gets the closest point on a polygon to this point, read as a filled surface.

GetClosestPointOnBoundary(GeoPolyline3)

Gets the closest point on a polyline to this point.

GetClosestPointOnBoundary(GeoRay3)

Gets the closest point on a ray to this point, clamped to its origin.

GetClosestPointOnBoundary(GeoSolid3)

Gets the closest point on the surface of a solid to this point.

GetClosestPointOnBoundary(GeoSpline3)

Gets the point of a spline nearest this point.

GetClosestPointOnBoundary(GeoTriangle3)

Gets the closest point on a triangle to this point.

GetDistanceSquaredTo(GeoPoint3)

Calculates the squared Euclidean distance to another point.

GetHashCode()

Returns the hash code for this instance.

GetMiddlePoint(GeoPoint3)

Gets the point halfway between this point and another point.

GetShortestLineTo(GeoArc3)

Gets the shortest segment joining this point to an arc: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the arc.

GetShortestLineTo(GeoArc3, Tolerance)

Gets the shortest segment joining this point to an arc, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the arc.

GetShortestLineTo(GeoCircle3)

Gets the shortest segment joining this point to a circle: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the circle.

GetShortestLineTo(GeoCircle3, Tolerance)

Gets the shortest segment joining this point to a circle, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the circle.

GetShortestLineTo(GeoEdge3)

Gets the shortest segment joining this point to an edge: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the edge.

GetShortestLineTo(GeoEdge3, Tolerance)

Gets the shortest segment joining this point to an edge, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the edge.

GetShortestLineTo(GeoFace3)

Gets the shortest segment joining this point to a face: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the face.

GetShortestLineTo(GeoFace3, Tolerance)

Gets the shortest segment joining this point to a face, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the face.

GetShortestLineTo(GeoLine3)

Gets the shortest segment joining this point to a segment: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the segment.

GetShortestLineTo(GeoLine3, Tolerance)

Gets the shortest segment joining this point to a segment, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the segment.

GetShortestLineTo(GeoPlane3)

Gets the shortest segment joining this point to a plane: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the plane.

GetShortestLineTo(GeoPlane3, Tolerance)

Gets the shortest segment joining this point to a plane, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the plane.

GetShortestLineTo(GeoPolygon3)

Gets the shortest segment joining this point to a polygon: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the polygon.

GetShortestLineTo(GeoPolygon3, Tolerance)

Gets the shortest segment joining this point to a polygon, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the polygon.

GetShortestLineTo(GeoPolygonArc3)

Gets the shortest line from this point to the boundary of a curved loop: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the loop.

GetShortestLineTo(GeoPolygonArc3, Tolerance)

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

GetShortestLineTo(GeoPolyline3)

Gets the shortest segment joining this point to a polyline: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the polyline.

GetShortestLineTo(GeoPolyline3, Tolerance)

Gets the shortest segment joining this point to a polyline, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the polyline.

GetShortestLineTo(GeoPolylineArc3)

Gets the shortest segment joining this point to a curved chain: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the curved chain.

GetShortestLineTo(GeoPolylineArc3, Tolerance)

Gets the shortest segment joining this point to a curved chain, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the curved chain.

GetShortestLineTo(GeoRay3)

Gets the shortest segment joining this point to a ray: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the ray.

GetShortestLineTo(GeoRay3, Tolerance)

Gets the shortest segment joining this point to a ray, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the ray.

GetShortestLineTo(GeoSolid3)

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

GetShortestLineTo(GeoSolid3, Tolerance)

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

GetShortestLineTo(GeoSphere3)

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

GetShortestLineTo(GeoSphere3, Tolerance)

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

GetShortestLineTo(GeoSpline3)

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

GetShortestLineTo(GeoSpline3, Tolerance)

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

GetShortestLineTo(GeoTriangle3)

Gets the shortest segment joining this point to a triangle: GetShortestLineTo(GeoPoint3) turned round, so that it leaves this point and lands on the triangle.

GetShortestLineTo(GeoTriangle3, Tolerance)

Gets the shortest segment joining this point to a triangle, within a tolerance: GetShortestLineTo(GeoPoint3, Tolerance) turned round, so that it leaves this point and lands on the triangle.

GetShortestLineTo(GeoXLine3)

Gets the shortest segment leaving this point and landing on an infinite line, using the default tolerance.

GetShortestLineTo(GeoXLine3, Tolerance)

Gets the shortest segment leaving this point and landing on an infinite line, within a tolerance.

GetSideOf(GeoPlane3)

Determines which side of a plane this point lies on, using the default tolerance.

GetSideOf(GeoPlane3, Tolerance)

Determines which side of a plane this point lies on, within a tolerance.

GetVectorTo(GeoPoint3)

Gets the vector pointing from this point to another point.

IsEqualTo(GeoPoint3)

Compares whether this point equals another point using the default tolerance.

IsEqualTo(GeoPoint3, Tolerance)

Compares whether this point equals another point within a tolerance.

IsPointOn(GeoCircle3)

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

IsPointOn(GeoCircle3, Tolerance)

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

IsPointOn(GeoLine3)

Checks whether this point lies on a line segment using the default tolerance.

IsPointOn(GeoLine3, Tolerance)

Checks whether this point lies on a line segment within a tolerance.

IsPointOn(GeoPlane3)

Checks whether this point lies on a plane using the default tolerance.

IsPointOn(GeoPlane3, Tolerance)

Checks whether this point lies on a plane within a tolerance.

IsPointOn(GeoPolygon3)

Checks whether this point lies on the boundary of a polygon, using the default tolerance.

IsPointOn(GeoPolygon3, Tolerance)

Checks whether this point lies on the boundary of a polygon, within a tolerance.

IsPointOn(GeoPolyline3)

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

IsPointOn(GeoPolyline3, Tolerance)

Checks whether this point lies on a polyline, within a tolerance.

IsPointOn(GeoRay3)

Checks whether this point lies on a ray using the default tolerance.

IsPointOn(GeoRay3, Tolerance)

Checks whether this point lies on a ray within a tolerance.

IsPointOn(GeoSpline3)

Determines whether this point lies on a spline, within the default tolerance.

IsPointOn(GeoSpline3, Tolerance)

Determines whether this point lies on a spline, within a tolerance.

LocateIn(GeoAabb3)

Locates this point relative to an axis-aligned box, using the default tolerance.

LocateIn(GeoAabb3, Tolerance)

Locates this point relative to an axis-aligned box, within a tolerance.

LocateIn(GeoCircle3)

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

LocateIn(GeoCircle3, Tolerance)

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

LocateIn(GeoFace3)

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

LocateIn(GeoFace3, Tolerance)

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

LocateIn(GeoObb3)

Locates this point relative to an oriented box, using the default tolerance.

LocateIn(GeoObb3, Tolerance)

Locates this point relative to an oriented box, within a tolerance.

LocateIn(GeoPolygon3)

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

LocateIn(GeoPolygon3, Tolerance)

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

LocateIn(GeoSolid3)

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

LocateIn(GeoSolid3, Tolerance)

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

LocateIn(GeoTriangle3)

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

LocateIn(GeoTriangle3, Tolerance)

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

ProjectToPoint2(GeoCoordinateSystem3)

Lays this point out in a frame, dropping its distance from the plane of that frame.

SignedDistanceTo(GeoAabb3)

Gets the signed distance from this point to the surface of a axis-aligned box, negative inside it, using the default tolerance.

SignedDistanceTo(GeoAabb3, Tolerance)

Gets the signed distance from this point to the surface of a axis-aligned box, negative inside it, within a tolerance.

SignedDistanceTo(GeoObb3)

Gets the signed distance from this point to the surface of a oriented box, negative inside it, using the default tolerance.

SignedDistanceTo(GeoObb3, Tolerance)

Gets the signed distance from this point to the surface of a oriented box, negative inside it, within a tolerance.

SignedDistanceTo(GeoSolid3)

Gets the signed distance from this point to the surface of a solid, negative inside it, using the default tolerance.

SignedDistanceTo(GeoSolid3, Tolerance)

Gets the signed distance from this point to the surface of a solid, negative inside it, within a tolerance.

Subtract(GeoVector3)

Translates the point by the negation of a vector.

ToString()

Returns a string that represents the current point.

ToVector()

Gets this point read as a vector from the global origin.

TransformBy(GeoTransform3)

Applies a transformation to this point.

Translate(GeoVector3)

Moves the point by a vector.

TryToPoint2(GeoCoordinateSystem3, out GeoPoint2)

Lays this point out in a frame when it lies on the plane of that frame, using the default tolerance.

TryToPoint2(GeoCoordinateSystem3, out GeoPoint2, Tolerance)

Lays this point out in a frame when it lies on the plane of that frame, within a tolerance.

Operators

operator +(GeoPoint3, GeoVector3)

Translates a point by a vector.

operator ==(GeoPoint3, GeoPoint3)

Checks if two points have exactly the same coordinates.

operator !=(GeoPoint3, GeoPoint3)

Checks if two points differ in any coordinate.

operator -(GeoPoint3, GeoPoint3)

Calculates the vector pointing from start to end.

operator -(GeoPoint3, GeoVector3)

Translates a point by the negation of a vector.