Table of Contents

Method ProjectToSpline2

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ProjectToSpline2(GeoCoordinateSystem3, GeoSpline3)

Lays a spline in space out in a frame, projecting it square onto the plane of that frame.

public static GeoSpline2 ProjectToSpline2(GeoCoordinateSystem3 frame, GeoSpline3 spline)

Parameters

frame GeoCoordinateSystem3

The frame to lay it out in.

spline GeoSpline3

The spline in space.

Returns

GeoSpline2

The spline in the plane of the frame, with the same degree, weights and knots; each control point is laid out with its distance from the plane dropped.

Exceptions

ArgumentNullException

Thrown when the spline is null.

ArgumentException

Thrown when the frame has a coordinate that is not a finite number.

InvalidOperationException

Thrown when the spline stands square to the plane, so that every control point lands on one point.