Filling region limited by circumferences using Tkz-Euclide
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am trying to fill the region enclosed by three circumferences (the little one in the middle) using TikZ or Tkz-Euclide but I am unable to do so, even after looking at several examples.
Here's my MWE:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetkzobjall
usetikzlibrarycalc,decorations.pathmorphings
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.73/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
endtikzpicture
enddocument
For reference, I have consulted the following similar questions:
Filling a complex region with TikZ
Filling in an area enclosed by two arcs and a line
Filling region between two draw Tikz
Filling a region in Tikz
How to color a region?
tikz-pgf draw tkz-euclide
add a comment |Â
up vote
1
down vote
favorite
I am trying to fill the region enclosed by three circumferences (the little one in the middle) using TikZ or Tkz-Euclide but I am unable to do so, even after looking at several examples.
Here's my MWE:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetkzobjall
usetikzlibrarycalc,decorations.pathmorphings
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.73/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
endtikzpicture
enddocument
For reference, I have consulted the following similar questions:
Filling a complex region with TikZ
Filling in an area enclosed by two arcs and a line
Filling region between two draw Tikz
Filling a region in Tikz
How to color a region?
tikz-pgf draw tkz-euclide
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am trying to fill the region enclosed by three circumferences (the little one in the middle) using TikZ or Tkz-Euclide but I am unable to do so, even after looking at several examples.
Here's my MWE:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetkzobjall
usetikzlibrarycalc,decorations.pathmorphings
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.73/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
endtikzpicture
enddocument
For reference, I have consulted the following similar questions:
Filling a complex region with TikZ
Filling in an area enclosed by two arcs and a line
Filling region between two draw Tikz
Filling a region in Tikz
How to color a region?
tikz-pgf draw tkz-euclide
I am trying to fill the region enclosed by three circumferences (the little one in the middle) using TikZ or Tkz-Euclide but I am unable to do so, even after looking at several examples.
Here's my MWE:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetkzobjall
usetikzlibrarycalc,decorations.pathmorphings
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.73/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
endtikzpicture
enddocument
For reference, I have consulted the following similar questions:
Filling a complex region with TikZ
Filling in an area enclosed by two arcs and a line
Filling region between two draw Tikz
Filling a region in Tikz
How to color a region?
tikz-pgf draw tkz-euclide
tikz-pgf draw tkz-euclide
asked 1 hour ago
Mark Fantini
108126
108126
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
A solution using filldraw
:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetikzlibrarycalc
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.732/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
% This is my original answer:
filldraw[fill=red]
($(A)!0.5!(C)$) arc (60:0:1cm) --
($(B)!0.5!(A)$) arc (180:120:1cm) --
($(C)!0.5!(B)$) arc (-60:-120:1cm) -- cycle;
% Or a much simpler version suggested by @marmot in the comments:
% filldraw[fill=red] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
endtikzpicture
enddocument
2
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.
â marmot
1 hour ago
@marmot Aha! I just learned thatarc
âÂÂs can be joined together this way. Will update my answer. ;)
â Ruixi Zhang
1 hour ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
A solution using filldraw
:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetikzlibrarycalc
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.732/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
% This is my original answer:
filldraw[fill=red]
($(A)!0.5!(C)$) arc (60:0:1cm) --
($(B)!0.5!(A)$) arc (180:120:1cm) --
($(C)!0.5!(B)$) arc (-60:-120:1cm) -- cycle;
% Or a much simpler version suggested by @marmot in the comments:
% filldraw[fill=red] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
endtikzpicture
enddocument
2
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.
â marmot
1 hour ago
@marmot Aha! I just learned thatarc
âÂÂs can be joined together this way. Will update my answer. ;)
â Ruixi Zhang
1 hour ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
add a comment |Â
up vote
3
down vote
accepted
A solution using filldraw
:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetikzlibrarycalc
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.732/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
% This is my original answer:
filldraw[fill=red]
($(A)!0.5!(C)$) arc (60:0:1cm) --
($(B)!0.5!(A)$) arc (180:120:1cm) --
($(C)!0.5!(B)$) arc (-60:-120:1cm) -- cycle;
% Or a much simpler version suggested by @marmot in the comments:
% filldraw[fill=red] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
endtikzpicture
enddocument
2
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.
â marmot
1 hour ago
@marmot Aha! I just learned thatarc
âÂÂs can be joined together this way. Will update my answer. ;)
â Ruixi Zhang
1 hour ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
A solution using filldraw
:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetikzlibrarycalc
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.732/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
% This is my original answer:
filldraw[fill=red]
($(A)!0.5!(C)$) arc (60:0:1cm) --
($(B)!0.5!(A)$) arc (180:120:1cm) --
($(C)!0.5!(B)$) arc (-60:-120:1cm) -- cycle;
% Or a much simpler version suggested by @marmot in the comments:
% filldraw[fill=red] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
endtikzpicture
enddocument
A solution using filldraw
:
documentclass[10pt]scrartcl
usepackagetikz
usepackagetkz-euclide
usetikzlibrarycalc
begindocument
begintikzpicture
tkzDefPoints0/0/A, 2/0/B, 1/1.732/C
tkzDrawCircle[R](A,1cm)
tkzDrawCircle[R](B,1cm)
tkzDrawCircle[R](C,1cm)
tkzLabelPoints[below left](A)
tkzLabelPoints[below right](B)
tkzLabelPoints[above](C)
tkzDrawPoints(A,B,C)
% This is my original answer:
filldraw[fill=red]
($(A)!0.5!(C)$) arc (60:0:1cm) --
($(B)!0.5!(A)$) arc (180:120:1cm) --
($(C)!0.5!(B)$) arc (-60:-120:1cm) -- cycle;
% Or a much simpler version suggested by @marmot in the comments:
% filldraw[fill=red] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
endtikzpicture
enddocument
edited 1 hour ago
answered 1 hour ago
Ruixi Zhang
3,926318
3,926318
2
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.
â marmot
1 hour ago
@marmot Aha! I just learned thatarc
âÂÂs can be joined together this way. Will update my answer. ;)
â Ruixi Zhang
1 hour ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
add a comment |Â
2
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.
â marmot
1 hour ago
@marmot Aha! I just learned thatarc
âÂÂs can be joined together this way. Will update my answer. ;)
â Ruixi Zhang
1 hour ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
2
2
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :
fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.â marmot
1 hour ago
+1 Was just about to post an almost identical answer except for the unnecessary coordinates. Try :
fill[blue] ($(A)!0.5!(B)$) arc(0:60:1) arc(-120:-60:1) arc(120:180:1);
.â marmot
1 hour ago
@marmot Aha! I just learned that
arc
âÂÂs can be joined together this way. Will update my answer. ;)â Ruixi Zhang
1 hour ago
@marmot Aha! I just learned that
arc
âÂÂs can be joined together this way. Will update my answer. ;)â Ruixi Zhang
1 hour ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
Thank you for the help. This not only solved my problem but, after some thought, helped me solve another similar problem.
â Mark Fantini
40 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f452171%2ffilling-region-limited-by-circumferences-using-tkz-euclide%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password