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

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

Filename: kern/kern_scm/crv_scm.cxx

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

Arg Types: edge-or-curve curve | edge

Returns: gvector

Errors: EDGE with no CURVE

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


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

Example: ; curve:end-tan

; Create a circular edge.

(define edge1


(edge:circular


(position 0 0 0) 25 0 185))

;; edge1

; Get the tangent end of the edge.

(curve:end-tan edge1)

;; #[gvector 0.0871557427476575 -0.996194698091746 0]
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0031.HTM