Next: Pins, Previous: Lines, Up: Core object functions [Contents][Index]
Net and bus object
s are straight line segments which represent
electrical connectivity. Nets represent single wires, and buses
multi-wire connections of arbitrary composition.
All of the functions that work on line object
s also work with
nets and buses (see Lines). Note that line?
will return
#f
if called with a net or bus argument.
Returns ‘#t’ if and only if object is a net.
Creates and returns a new net object
. start is the
position of the start of the new net in the form (x . y)
and
end is the position of end of the net. If color is
specified, it should be the integer color map index of the color with
which to draw the net. If color is not specified, the default
net color is used.
Returns ‘#t’ if and only if object is a bus.
Creates and returns a new bus object
. Arguments are as for
make-net
.