AngelCAD  1.5-00
Public Member Functions | List of all members
spline2d Class Reference

2d cubic spline curve More...

#include <angelcad.h>

Public Member Functions

 spline2d (array< pos2d@>@ points)
 Compute 2d spline curve from an array of positions on curve. More...
 
pos2dpos (double t) const
 
vec2ddir (double t) const
 

Detailed Description

2d cubic spline curve

a spline2d is a 2d cubic spline curve.

Constructor & Destructor Documentation

◆ spline2d()

spline2d::spline2d ( array< pos2d@>@  points)

Compute 2d spline curve from an array of positions on curve.

Parameters
pointsarray@

Member Function Documentation

◆ dir()

vec2d@ spline2d::dir ( double  t) const
Parameters
tdouble
Returns
vec2d@

◆ pos()

pos2d@ spline2d::pos ( double  t) const
Parameters
tdouble
Returns
pos2d@

The documentation for this class was generated from the following file: