Class Face2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
What a face meets, and how far off it is.
public static class Face2
- Inheritance
-
Face2
- Inherited Members
Remarks
A face is an outline with holes in it, so none of this is the polygon answer: the boundary of a face is its outline together with the rim of every hole, and the material is what lies inside the outline and outside all of them.
Crossings are the union over that boundary, and the shortest joining segment is the shortest over it, which is why a probe standing on the material still gets a segment with a length: it is the reach to the nearest edge of the material, the same reading ProjectToFace(GeoFace2, GeoPoint2) gives.
Touching is the one that needs care. A probe collides with the face when it collides with the outline and no hole has swallowed it whole. A probe that crosses no rim of a hole is either wholly inside that hole, or wholly outside it, or holds the hole within itself, and those are told apart by asking where one point of the probe falls and, for a probe that has an inside, whether the rim falls within it.
Methods
- CollidesWith(GeoFace2, GeoArc2)
Determines whether a arc reaches the material of a face.
- CollidesWith(GeoFace2, GeoArc2, Tolerance)
Determines whether a arc reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoCircle2)
Determines whether a circle reaches the material of a face.
- CollidesWith(GeoFace2, GeoCircle2, Tolerance)
Determines whether a circle reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoLine2)
Determines whether a segment reaches the material of a face.
- CollidesWith(GeoFace2, GeoLine2, Tolerance)
Determines whether a segment reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoPolygon2)
Determines whether a polygon reaches the material of a face.
- CollidesWith(GeoFace2, GeoPolygon2, Tolerance)
Determines whether a polygon reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoPolygonArc2)
Determines whether a curved loop reaches the material of a face.
- CollidesWith(GeoFace2, GeoPolygonArc2, Tolerance)
Determines whether a curved loop reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoPolyline2)
Determines whether a polyline reaches the material of a face.
- CollidesWith(GeoFace2, GeoPolyline2, Tolerance)
Determines whether a polyline reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoPolylineArc2)
Determines whether a curved chain reaches the material of a face.
- CollidesWith(GeoFace2, GeoPolylineArc2, Tolerance)
Determines whether a curved chain reaches the material of a face, within a tolerance.
- CollidesWith(GeoFace2, GeoRectangle2)
Determines whether a rectangle reaches the material of a face.
- CollidesWith(GeoFace2, GeoRectangle2, Tolerance)
Determines whether a rectangle reaches the material of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoArc2)
Gets every point where a arc crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoArc2, Tolerance)
Gets every point where a arc crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoCircle2)
Gets every point where a circle crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoCircle2, Tolerance)
Gets every point where a circle crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoLine2)
Gets every point where a segment crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoLine2, Tolerance)
Gets every point where a segment crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoPolygon2)
Gets every point where a polygon crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoPolygon2, Tolerance)
Gets every point where a polygon crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoPolygonArc2)
Gets every point where a curved loop crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoPolygonArc2, Tolerance)
Gets every point where a curved loop crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoPolyline2)
Gets every point where a polyline crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoPolyline2, Tolerance)
Gets every point where a polyline crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoPolylineArc2)
Gets every point where a curved chain crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoPolylineArc2, Tolerance)
Gets every point where a curved chain crosses the boundary of a face, within a tolerance.
- GetIntersections(GeoFace2, GeoRectangle2)
Gets every point where a rectangle crosses the boundary of a face.
- GetIntersections(GeoFace2, GeoRectangle2, Tolerance)
Gets every point where a rectangle crosses the boundary of a face, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoArc2)
Gets the shortest segment leaving the boundary of a face and landing on a arc.
- GetShortestLineTo(GeoFace2, GeoArc2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a arc, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoCircle2)
Gets the shortest segment leaving the boundary of a face and landing on a circle.
- GetShortestLineTo(GeoFace2, GeoCircle2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a circle, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoLine2)
Gets the shortest segment leaving the boundary of a face and landing on a segment.
- GetShortestLineTo(GeoFace2, GeoLine2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a segment, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoPoint2)
Gets the shortest segment leaving the boundary of a face and landing on a point.
- GetShortestLineTo(GeoFace2, GeoPoint2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a point, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoPolygon2)
Gets the shortest segment leaving the boundary of a face and landing on a polygon.
- GetShortestLineTo(GeoFace2, GeoPolygon2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a polygon, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoPolygonArc2)
Gets the shortest segment leaving the boundary of a face and landing on a curved loop.
- GetShortestLineTo(GeoFace2, GeoPolygonArc2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a curved loop, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoPolyline2)
Gets the shortest segment leaving the boundary of a face and landing on a polyline.
- GetShortestLineTo(GeoFace2, GeoPolyline2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a polyline, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoPolylineArc2)
Gets the shortest segment leaving the boundary of a face and landing on a curved chain.
- GetShortestLineTo(GeoFace2, GeoPolylineArc2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a curved chain, within a tolerance.
- GetShortestLineTo(GeoFace2, GeoRectangle2)
Gets the shortest segment leaving the boundary of a face and landing on a rectangle.
- GetShortestLineTo(GeoFace2, GeoRectangle2, Tolerance)
Gets the shortest segment leaving the boundary of a face and landing on a rectangle, within a tolerance.