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 10 Next »

Unknown macro: {alias}

Name

bsp — B-spline visualization

Syntax

bsp [size] [q | cm | cm2] [lin] [sav [nodraw] ] [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

size

q

cm

cm2

lin

sav [nodraw]

nst number

col

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

  • No labels