[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
7.10.5
cup
cup( <set1>, <set2> )
Description
: returns the outline of the union of <
set1
> with <
set2
> as a point list. Those two sets must be closed curves with the same orientation and a quite simple shape. The macro
set
is useful to define and draw sets.
Exemple(s)
: union of two sets:
\begin{texgraph}[name=cup,
export=pgf]
Marges(0,0,0,0),size(7.5),
A:=set("A",
0,
[rotation:=30]),
B:=set("B",
0,
[rotation:=-30]),
C:=
cup(A,B),Color:=red,FillStyle:=full,
FillOpacity:=0.5,
FillColor:=pink,
Ligne(C,0)
\end{texgraph}
cup macro
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]