arc:set-start
List of: Scheme Extensions
Subjects: Model Geometry
Contents: Constructors

Action: Sets the start angle of a circular curve or edge or an elliptical curve or edge.

Filename: cstr/cstr_scm/geom_scm.cxx

APIs: api_get_ellipse_parameters, api_modify_ellipse

Syntax: (arc:set-start curve angle)

Arg Types: curve elliptical-curve | elliptical-edge

angle real

Returns: elliptical-curve | elliptical-edge

Description: Circular curves and edges are subsets of elliptical curves and edges. This extension extends or shortens the input curve curve to the given angle angle along the curve. The start position is determined using the right hand rule with respect to the curve's normal, the end position, and the desired angle.


curve specifies an elliptical curve or edge.


angle specifies the new start angle of the ellipse in degrees.

Example: ; arc:set-start

; Create a circular edge.

(define arc1


(edge:circular


(position 15 25 0) 25 0 185))

;; arc1

; OUTPUT Original


; Set the start angle of the edge.

(define set (arc:set-start arc1 45))

;; set

; OUTPUT Result



Figure 2-7. arc:set-start
PDF/CSTR/02SCA.PDF
HTM/DATA/CSTR/CSTR/02SCA/0007.HTM