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

Action: Gets the start position of an edge or curve.

Filename: kern/kern_scm/crv_scm.cxx

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

Arg Types: edge-or-curve curve | edge

Returns: position

Errors: EDGE with no CURVE

Description: Returns the start position of an edge or curve.


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

Example: ; curve:start-pos

; Create circular edge 1.

(define edge1


(edge:circular


(position 0 0 0) 25 0 185))

;; edge1

; Determine circular edges 1's start position.

(curve:start-pos edge1)

;; #[position 25 0 0]

; Create circular edge 2.

(define edge2


(edge:circular


(position 5 10 10) 45 15 205))

;; edge2

; Determine circular edge 2's start position.

(curve:start-pos edge2)

;; #[position 48.4666621830081 21.6468570296134 10]
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0046.HTM