entity:sense
List of: Scheme Extensions
Subjects: Debugging
Contents: Kernel

Action: Determines if a scheme-object is a FORWARD.

Filename: kern/kern_scm/ent_scm.cxx

Syntax: (entity:sense in-entity)

Arg Types: in-entity entity

Returns: boolean

Description: This extension returns #t if the entity sense is FORWARD; otherwise, it

returns #f. The input entity in-ent can be a face, edge, or coedge.


in-entity specifies the entity whose sense has to be determined.

Example: ; entity:sense

; Create some edges to test.

(define e1 (edge:circular (position 0 0 0) 5))

;; e1

(entity:sense e1)

;; #t

(define e2 (edge:linear (position 10 0 0)


(position 20 0 0)))

;; e2

(entity:sense e2)

;; #t
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0101.HTM