Action:
|
Determines if a face contains invalid loops.
|
|
Filename:
|
kern/kern_scm/loop_scm.cxx
|
|
APIs:
|
api_check_face_loops
|
|
Syntax:
|
(face:check face)
|
|
Arg Types:
|
face
|
entity
|
|
Returns:
|
boolean
|
|
Description:
|
This returns text indicating how many of the various kinds of loops there are in the given face and a Boolean flag indicating whether the check was successful or not. Valid loop types include periphery loops, holes,
u-separation loops,
v-separation loops, unknown loops, and "Closed face, no loop".
|
|
|
face specifies a face entity.
|
|
Example:
|
; face:check
|
|
; Create a face.
|
|
(define face1 (face:law "vec(cos(x), y, x)"
|
|
|
-20 (law:eval "10*pi") -10 10))
|
|
;; face1
|
|
(face:check face1)
|
|
; 1 periphery loop.
|
|
;; #t
|