Class PlanarMap
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
Carries geometry that curves between the plane and space.
public static class PlanarMap
- Inheritance
-
PlanarMap
- Inherited Members
Remarks
The rest of PlanarMap carries points, segments, polylines, polygons and faces. Arcs were missing, and that left the round trip half open: a curved edge of a plate could be brought into the plane to be worked on, but the answer could only be put back by flattening it and losing the curves.
A bulge in the plane is read counter-clockwise about the Z axis, so lifting one keeps the bulge as it
is and hands the frame's Z axis to the edge as the plane it bulges in. Bringing one back is the same
step in reverse, with one thing to watch: an arc whose normal runs against the frame is the same
arc seen from behind, so its bulge changes sign on the way down. An arc lies in the plane when no point of
it stands further off it than the planar tolerance, however its own plane is turned; one that stands off
it does not, and the Try forms say so rather than flattening it.
Methods
- FrameOf(GeoFace3)
Gets the frame of a face: the frame of its boundary, so its holes are laid out with it.
- FrameOf(GeoPlane3)
Gets a frame of a plane, with the origin at the plane origin and the axes the plane itself fixes.
- FrameOf(GeoPolygon3)
Gets the frame of a polygon: its plane, with the origin at the first vertex and the first axis along the first edge that has a direction, so the frame turns with the polygon.
- ProjectToArc2(GeoCoordinateSystem3, GeoArc3)
Lays an arc out in a frame, by projecting it onto the plane of that frame.
- ProjectToEllipse2(GeoCoordinateSystem3, GeoCircle3)
Lays a circle in space out in a frame, projecting it square onto the plane of that frame: an ellipse, or a circle where it lies parallel to the plane.
- ProjectToEllipse2(GeoCoordinateSystem3, GeoEllipse3)
Lays an ellipse in space out in a frame, projecting it square onto the plane of that frame.
- ProjectToFace2(GeoCoordinateSystem3, GeoFace3)
Lays a face and its holes out in a frame, dropping each vertex's distance from the plane.
- ProjectToLine2(GeoCoordinateSystem3, GeoLine3)
Lays a segment out in a frame, dropping each end's distance from the plane.
- ProjectToPoint2(GeoCoordinateSystem3, GeoPoint3)
Lays a point out in a frame, dropping its distance from the plane.
- ProjectToPolygon2(GeoCoordinateSystem3, GeoPolygon3)
Lays a polygon out in a frame, dropping each vertex's distance from the plane.
- ProjectToPolyline2(GeoCoordinateSystem3, GeoPolyline3)
Lays a chain out in a frame, dropping each vertex's distance from the plane.
- ProjectToRay2(GeoCoordinateSystem3, GeoRay3)
Lays a ray out in a frame: its origin as a point, dropping its distance from the plane, and its direction as a vector, dropping the part square to the plane and normalized again.
- ProjectToSpline2(GeoCoordinateSystem3, GeoSpline3)
Lays a spline in space out in a frame, projecting it square onto the plane of that frame.
- ProjectToTriangle2(GeoCoordinateSystem3, GeoTriangle3)
Lays a triangle out in a frame, dropping each vertex's distance from the plane of that frame.
- ProjectToVector2(GeoCoordinateSystem3, GeoVector3)
Lays a vector out in a frame, dropping the part square to the plane.
- ProjectToXLine2(GeoCoordinateSystem3, GeoXLine3)
Lays an infinite line out in a frame: its origin as a point, dropping its distance from the plane, and its direction as a vector, dropping the part square to the plane and normalized again.
- ToArc3(GeoCoordinateSystem3, GeoArc2)
Lifts an arc out of a frame into the plane of that frame in space.
- ToEdge3(GeoCoordinateSystem3, GeoEdge2)
Lifts an edge out of a frame into the plane of that frame in space.
- ToEllipse3(GeoCoordinateSystem3, GeoEllipse2)
Puts an ellipse of the plane back into space, exactly: its centre and its axis carried by the frame, its normal the frame's Z axis, its radii as they are.
- ToFace3(GeoCoordinateSystem3, GeoFace2)
Puts a face of the plane back into space, holes and all.
- ToLine3(GeoCoordinateSystem3, GeoLine2)
Puts a segment of the plane back into space.
- ToPoint3(GeoCoordinateSystem3, GeoPoint2)
Puts a point of the plane back into space.
- ToPolygon3(GeoCoordinateSystem3, GeoPolygon2)
Puts a polygon of the plane back into space.
- ToPolyline3(GeoCoordinateSystem3, GeoPolyline2)
Puts a chain of the plane back into space.
- ToPolylineArc3(GeoCoordinateSystem3, GeoPolylineArc2)
Lifts a chain that may curve out of a frame into the plane of that frame in space.
- ToRay3(GeoCoordinateSystem3, GeoRay2)
Puts a ray of the plane back into space.
- ToSpline3(GeoCoordinateSystem3, GeoSpline2)
Puts a spline of the plane back into space, exactly: each control point carried by the frame, the degree, weights and knots as they were.
- ToTriangle3(GeoCoordinateSystem3, GeoTriangle2)
Puts a triangle of the plane back into space.
- ToVector3(GeoCoordinateSystem3, GeoVector2)
Puts a vector of the plane back into space.
- ToXLine3(GeoCoordinateSystem3, GeoXLine2)
Puts an infinite line of the plane back into space.
- TryToArc2(GeoCoordinateSystem3, GeoArc3, out GeoArc2)
Lays an arc out in a frame when it lies in the plane of that frame.
- TryToArc2(GeoCoordinateSystem3, GeoArc3, out GeoArc2, Tolerance)
Lays an arc out in a frame when it lies in the plane of that frame, within a tolerance.
- TryToEdge2(GeoCoordinateSystem3, GeoEdge3, out GeoEdge2)
Lays an edge out in a frame when it lies in the plane of that frame.
- TryToEdge2(GeoCoordinateSystem3, GeoEdge3, out GeoEdge2, Tolerance)
Lays an edge out in a frame when it lies in the plane of that frame, within a tolerance.
- TryToPoint2(GeoCoordinateSystem3, GeoPoint3, out GeoPoint2)
Lays a point out in a frame when it lies on the plane of that frame, using the default tolerance.
- TryToPoint2(GeoCoordinateSystem3, GeoPoint3, out GeoPoint2, Tolerance)
Lays a point out in a frame when it lies on the plane of that frame, within a tolerance.
- TryToPolylineArc2(GeoCoordinateSystem3, GeoPolylineArc3, out GeoPolylineArc2)
Lays a chain that may curve out in a frame when the whole of it lies in the plane of that frame.
- TryToPolylineArc2(GeoCoordinateSystem3, GeoPolylineArc3, out GeoPolylineArc2, Tolerance)
Lays a chain that may curve out in a frame when the whole of it lies in the plane of that frame, within a tolerance.