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

Action: Gets the end parameter of an edge or a curve.

Filename: kern/kern_scm/crv_scm.cxx

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

Arg Types: edge-or-curve curve | edge

Returns: real

Errors: EDGE with no CURVE

Description: The parameterization of all curves is normalized to lie in the interval 0 to 1, therefore, a return parameter=0 indicates the start point of the curve. This extension returns the end parameter as a real.


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

Example: ; curve:end-param

; Create a circular edge.

(define edge1


(edge:circular


(position 0 0 0) 25 0 185))

;; edge1

; Get the end parameter of the edge.

(curve:end-param edge1)

;; 3.22885911618951
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0029.HTM