forked from ddrilling/AsbCloudServer
This commit is contained in:
parent
d852fb3640
commit
25cbdc911c
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user