Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Unknown macro: {alias}

Name

bsp — B-spline visualization

Syntax

bsp [size] [q | cm | cm2] [lin] [sav] [nst] [col] ; # draw b-spline

Description

Draw a b-spline curve close to the points in active workspace. The curve will not interpolate the input points, but follows the control polygon that goes between the input points which are the knot points in the curve.

Arguments

Unknown macro: {indent}

No arguments. Draw cubic b-spline in tube mode through input points.

size

Unknown macro: {indent}

Specify size of b-spline thickness either in tube or line mode.

q

Unknown macro: {indent}

Draw quadratic b-spline through input points.

cm

Unknown macro: {indent}

Draw cubic bspline and use the coeffisient matrix.

cm2

Unknown macro: {indent}

Draw quadratic bspline and use the coeffisient matrix.

lin

Unknown macro: {indent}

Draw in line mode (default is tube).

sav

Unknown macro: {indent}

Save the b-spline curve as a dataset in active.

nst number

Unknown macro: {indent}

Number of steps between the knot points in the curve.

col

Unknown macro: {indent}

Color shift for each cell.

Examples

Ex.1: Drawing a b-spline curve

        # Digitize points and draw a b-spline
        rcd  ;#  digitize 5 points
        u    ;#  stop digitizing
        poi  ;#  display points
        pol  ;#  display line polygons
        bsp  ;#   draw a b-spline

The above example produces this image.


B-spline curve with the control polygon

See also

cur - Curve display, spl - Spline generation, pol - Polygon type display

Unknown macro: {pagebreak}
  • No labels