[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
7.10.2
cap
cap( <set1>, <set2> )
Description
: returns the outline of the intersection of the <
set1
> with <
set2
> in the form of two point lists. These two sets are two closed polylines of same orientation with a quite simple shape.The macro
set
is useful to define an draw sets.
Exemple(s)
: intersection of two sets:
\begin{texgraph}[name=cap,
export=pgf]
Marges(0,0,0,0),size(7.5),
A:=set("A",
0,
[rotation:=30]),
B:=set("B",
0,
[rotation:=-30]),
C:=
cap(A,B),Color:=red,FillStyle:=full,
FillOpacity:=0.5,
FillColor:=pink,
Ligne(C,0)
\end{texgraph}
cap macro
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]