02.07.2013 Views

Scuola di Dottorato di Ricerca in Parodontologia Sperimentale

Scuola di Dottorato di Ricerca in Parodontologia Sperimentale

Scuola di Dottorato di Ricerca in Parodontologia Sperimentale

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

a3=((XiL(:,1)-Pmc(:,1)).*(XiR(:,2)-Pmc(:,2)))-((XiR(:,1)-Pmc(:,1)).*(XiL(:,2)-<br />

Pmc(:,2)));<br />

a4=-((a1.*Pmc(:,1))+(a2.*Pmc(:,2))+(a3.*Pmc(:,3)));<br />

% plane hortogonal to the jaw plane and pass<strong>in</strong>g for two po<strong>in</strong>t (me<strong>di</strong>an<br />

plane)<br />

b1=(a3.*(PP(:,2)-PT(:,2)))-(a2.*(PP(:,3)-PT(:,3)));<br />

b2=-(a3.*(PP(:,1)-PT(:,1)))+(a1.*(PP(:,3)-PT(:,3)));<br />

b3=(a2.*(PP(:,1)-PT(:,1)))-(a1.*(PP(:,2)-PT(:,2)));<br />

b4=-((b1.*PT(:,1))+(b2.*PT(:,2))+(b3.*PT(:,3)));<br />

% plane hortogonal to the jaw plane and to the me<strong>di</strong>an plane and pass<strong>in</strong>g<br />

for certer po<strong>in</strong>t<br />

c1=PP(:,1)-PT(:,1);<br />

c2=PP(:,2)-PT(:,2);<br />

c3=PP(:,3)-PT(:,3);<br />

c4=-(c1.*center(1)+c2.*center(2)+c3.*center(3));<br />

zm<strong>in</strong>D=(a1.*P(1)+a2.*P(2)+a3.*P(3)+a4)./(sqrt(a1.^2+a2.^2+a3.^2));<br />

xm<strong>in</strong>D=(b1.*P(1)+b2.*P(2)+b3.*P(3)+b4)./(sqrt(b1.^2+b2.^2+b3.^2));<br />

ym<strong>in</strong>D=(c1.*P(1)+c2.*P(2)+c3.*P(3)+c4)./(sqrt(c1.^2+c2.^2+c3.^2));<br />

CORD=[xm<strong>in</strong>D ym<strong>in</strong>D zm<strong>in</strong>D];<br />

95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!