Description:
|
A
linear-edge is a topological edge entity that is linear in nature, and that contains a linear-curve data structure describing the edge.
linear-edge objects are saved and restored as part of the model.
|
|
Derivation:
|
linear-edge : edge : entity : scheme-object
|
|
C++ Type:
|
EDGE->STRAIGHT
|
|
External Rep:
|
#[entity %d %d]
|
|
where the first integer is the entity ID,
|
|
and the second integer is the part ID.
|
|
Example:
|
; linear-edge (data type)
|
|
; Create and inquire a edge:linear object.
|
|
(define edge1
|
|
|
(edge:linear (position 0 0 0)
|
|
|
(position 40 40 0)))
|
|
;; edge1
|
|
(edge:linear? edge1)
|
|
;; #t
|