3D Plane and Normal Vector

\documentclass[border=3pt]{standalone}
%Drawing
\usepackage{tikz}
%Tikz Library
\usetikzlibrary{calc}
%Notation
\usepackage{physics}
\begin{document}
% All numbers must be in [0,1] to fall in the plane drawn
\def\t{0.9}
\def\s{0.04}
\def\tt{0.3}
\def\ss{0.7}
\def\ttt{0.5}
\def\sss{0.5}
\begin{tikzpicture}[x={(1cm,0.4cm)}, y={(8mm, -3mm)}, z={(0cm,1cm)}, line cap=round, line join=round]
%Coordinates
%Plane Vertex Points
\coordinate (x1) at (-2,2,3);
\coordinate (x2) at (2,2,5);
\coordinate (x3) at (2,-2,5);
\coordinate (x4) at (-2,-2,3);
%Vectors Parallel to Plane
\coordinate (n1) at ($(x2) - (x1)$);
\coordinate (n2) at ($(x2) - (x3)$);
%Points on Plane
\coordinate (x5) at ($(x1) + \s*(n1) - \t*(n2)$);
\node[outer sep = 1pt, inner sep = 1pt] (x6) at ($(x1) + \ss*(n1) - \tt*(n2)$) {};
\coordinate (x7) at ($(x1) + \sss*(n1) - \ttt*(n2)$);
%Beginning of Axis
\coordinate (O) at (0,0,0);
%Random Point
\node[outer sep = 1pt, inner sep = 1pt] (P) at (2.5,1,5.5) {};
%Axis
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Leave a Reply

Your email address will not be published.