curve:param
List of: Scheme Extensions
Subjects: Construction Geometry
Contents: Kernel

Action: Gets the parameter value at a specified position on an edge or a curve.

Filename: kern/kern_scm/crv_scm.cxx

Syntax: (curve:param edge-or-curve param-pos)

Arg Types: edge-or-curve curve | edge

param-pos position

Returns: real

Errors: EDGE with no CURVE

Description: This extension returns the parameter as a normalized real, ranging from 0 to 1.


edge-or-curve specifies an edge or a curve.


param-pos specifies the location to compute the parameter on the curve.

Example: ; curve:param

; Create a circular edge.

(define edge1 (edge:circular


(position 0 0 0) 25))

;; edge1

; Determine the parameter value of the curve

; at a specific position.

(curve:param edge1 (position 6 6 0))

;; 0.125
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0041.HTM