三角形: 1. 半周长 P=(a+b+c)/2 2. 面积 S=aHa/2=absin(C)/2=sqrt(P(P-a)(P-b)(P-c)) 3. 中线 Ma=sqrt(2(b^2+c^2)-a^2)/2=sqrt(b^2+c^2+2bccos(A))…
几何校正 源代码
汇集 几何校正 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
//三维几何函数库 #include #define eps 1e-8 #define zero(x) (((x)>0?(x):-(x))
三角形: 1. 半周长 P=(a+b+c)/2 2. 面积 S=aHa/2=absin(C)/2=sqrt(P(P-a)(P-b)(P-c)) 3. 中线 Ma=sqrt(2(b^2+c^2)-a^2)/2=sqrt(b^2+c^2+2bccos(A))…
//三维几何函数库 #include #define eps 1e-8 #define zero(x) (((x)>0?(x):-(x))
三角形: 1. 半周长 P=(a+b+c)/2 2. 面积 S=aHa/2=absin(C)/2=sqrt(P(P-a)(P-b)(P-c)) 3. 中线 Ma=sqrt(2(b^2+c^2)-a^2)/2=sqrt(b^2+c^2+2bccos(A))…
//三维几何函数库 #include #define eps 1e-8 #define zero(x) (((x)>0?(x):-(x))
三角形: 1. 半周长 P=(a+b+c)/2 2. 面积 S=aHa/2=absin(C)/2=sqrt(P(P-a)(P-b)(P-c)) 3. 中线 Ma=sqrt(2(b^2+c^2)-a^2)/2=sqrt(b^2+c^2+2bccos(A))…
//三维几何函数库 #include #define eps 1e-8 #define zero(x) (((x)>0?(x):-(x))
三角形: 1. 半周长 P=(a+b+c)/2 2. 面积 S=aHa/2=absin(C)/2=sqrt(P(P-a)(P-b)(P-c)) 3. 中线 Ma=sqrt(2(b^2+c^2)-a^2)/2=sqrt(b^2+c^2+2bccos(A))…
//三维几何函数库 #include #define eps 1e-8 #define zero(x) (((x)>0?(x):-(x))