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

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

Filename: kern/kern_scm/crv_scm.cxx

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

Arg Types: edge-or-curve curve | edge

Returns: position

Errors: EDGE with no CURVE

Description: Returns the end position of an edge or a curve.


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

Example: ; curve:end-pos

; Create a circular edge.

(define edge1


(edge:circular


(position 0 0 0) 25 0 185))

;; edge1

; Get the end position of the edge.

(curve:end-pos edge1)

;; #[position -24.9048674522936 -2.17889356869144 0]
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0030.HTM