This commit is contained in:
ai.astrakhantsev 2023-02-20 11:16:24 +05:00
parent d852fb3640
commit 25cbdc911c

View File

@ -41,7 +41,7 @@ namespace AsbCloudInfrastructure.Services
{
X = x,
Y = y,
Z = z * -1
Z = z
};
result.Add(coordinates);
@ -60,6 +60,6 @@ namespace AsbCloudInfrastructure.Services
prev + flat * Math.Cos(azimuth * Math.PI / 180);
private double GetZ(double depthEnd, double depthStart, double zenit, double prev) =>
prev - (depthEnd - depthStart) * Math.Cos(zenit * Math.PI / 180);
prev + (depthEnd - depthStart) * Math.Cos(zenit * Math.PI / 180);
}
}