Method ProjectToPolyline2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ProjectToPolyline2(GeoCoordinateSystem3, GeoPolyline3)
Lays a chain out in a frame, dropping each vertex's distance from the plane.
public static GeoPolyline2 ProjectToPolyline2(GeoCoordinateSystem3 frame, GeoPolyline3 polyline)
Parameters
frameGeoCoordinateSystem3The frame to lay it out in.
polylineGeoPolyline3The chain.
Returns
- GeoPolyline2
The chain in the plane of the frame.
Remarks
The chain is laid out leg for leg, however short a leg: only a leg seen end-on, along the Z axis of the frame, goes. A chain 10 long with a step of 0.0004 in the plane keeps the step, where the global tolerance of a thousandth took it out. A chain that lands within the global tolerance of its start, a leg 10 long seen end-on, is still refused.
Exceptions
- ArgumentNullException
Thrown when the chain is null.
- ArgumentException
Thrown when the chain, seen along the Z axis of the frame, is a point within the global tolerance.