SchemeExt:Curve:circular?

From DocR23

Jump to: navigation, search

Contents

Action

Determines if a scheme-object is a curve:circular.

Filename

scm/scmext/kern/qgom_scm.cpp

APIs

None

Syntax

(curve:circular? object)

Argument Types

Argument Scheme Data Type
object scheme-object

Returns

boolean

Description

This extension returns #t if the object is a curve:circular; otherwise, it returns #f.

Arguments

  • object specifies the scheme-object that has to be queried for circularity.

Example

; curve:circular?
; Create a circular curve.
(define curve1 (curve:circular (position 0 0 0) 25 (gvector 0 1 0)))
;; curve1
; Determine if it is indeed a circular curve.
(curve:circular? curve1)
;; #t
Personal tools