我想在这张图片的两个抛物线之间进行填充,但不正确。我试过:
\documentclass[12pt,border=5mm]{standalone}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usepackage{fouriernc}
\usetikzlibrary{calc}
\tikzset{hidden/.style = {thick, dashed}}
\newcommand{\RightAngle}[4][2.5pt]{%
\draw ($#3!#1!#2$)
--($ #3!2!($($#3!#1!#2$)!.5!($#3!#1!#4$)$) $)
--($#3!#1!#4$) ;
}
\begin{document}
\newcommand\pgfmathsinandcos[3]{%
\pgfmathsetmacro#1{sin(#3)}%
\pgfmathsetmacro#2{cos(#3)}%
}
\begin{tikzpicture}[scale=1]
\pgfmathsetmacro\AngleFuite{120}
\pgfmathsetmacro\coeffReduc{.8}
\pgfmathsetmacro\clen{2}
\pgfmathsinandcos\sint\cost{\AngleFuite}
\begin{scope} [x = {(\coeffReduc*\cost,-\coeffReduc*\sint)},
y = {(1cm,0cm)},
z = {(0cm,1cm)}]
\path coordinate (O) at (0,0,0)
coordinate (M) at (0,4,0)
coordinate (N) at (-3.46,2,0)
coordinate (P) at (-3.46,-2,0)
coordinate (Q) at (0,-4,0)
coordinate (R) at (3.46,-2,0)
coordinate (S) at (3.46,2,0)
coordinate (T) at (0,0,10)
coordinate (O) at (0,0,0)
;
\draw[ dashed] (O)--(N) (O)--(M) (O)--(P) (O)--(Q) (O)--(R) (O)--(S) ;
\draw[dashed] (N)--(P) (P)--(Q) (O)--(T);
\draw[thick] (Q)--(R) (R)--(S) (S)--(M) (M)--(N) ;
\draw[thick,blue] (N)parabola(T) (Q)parabola(T) (R)parabola(T) (S)parabola(T) (M)parabola(T);
\draw[thick,dashed] (P)parabola(T) ;
\end{scope}
\foreach \v/\position in {N/right,M/right,P/right,O/below,Q/left,R/below,S/below,T/right} {
\draw[fill=black] (\v) circle (2pt) node [\position=5] {$\v$};
}
\draw [fill opacity=0.4,fill=orange!80!blue] (R) parabola (T) parabola (S);
\end{tikzpicture}
\end{document}
我该如何修复?