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(GeoCircle3)
Calculates the shortest distance to a circular disc, read as a filled surface.
- DistanceTo(GeoFace3)
Calculates the shortest distance to a face, holes respected.
- 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(GeoPolyline3)
Calculates the shortest distance to a polyline.
- 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(GeoTriangle3)
Calculates the shortest distance to a triangle.
- 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(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(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.
- 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.
- 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.