Displaying 5 results from an estimated 5 matches for "v1x".
Did you mean:
v1
2020 Oct 23
2
3d plot of earth with cut
...ints
p0x <- r*cos(2)*cos(fixlong)
p0y <- r*cos(2)*sin(fixlong)
p0z <- r*sin(2)
p1x <- r*cos(2.5)*cos(fixlong)
p1y <- r*cos(2.5)*sin(fixlong)
p1z <- r*sin(2.5)
p2x <- r*cos(3)*cos(fixlong)
p2y <- r*cos(3)*sin(fixlong)
p2z <- r*sin(3)
# Make the vectors pointing to P and P0
v1x <- p1x - p0x # P
v1y <- p1y - p0y
v1z <- p1z - p0z
v2x <- p2x - p0x # P0
v2y <- p2y - p0y
v2z <- p2z - p0z
# The cross product will give a vector orthogonal to the plane, (nx, ny, nz)
nx <- v1y*v2z - v1z*v2y;
ny <- v1z*v2x - v1x*v2z;
nz <- v1x*v2y - v1y*v2x;
# normalize...
2020 Oct 23
0
3d plot of earth with cut
...- r*cos(2)*sin(fixlong)
> p0z <- r*sin(2)
> p1x <- r*cos(2.5)*cos(fixlong)
> p1y <- r*cos(2.5)*sin(fixlong)
> p1z <- r*sin(2.5)
> p2x <- r*cos(3)*cos(fixlong)
> p2y <- r*cos(3)*sin(fixlong)
> p2z <- r*sin(3)
> # Make the vectors pointing to P and P0
> v1x <- p1x - p0x # P
> v1y <- p1y - p0y
> v1z <- p1z - p0z
> v2x <- p2x - p0x # P0
> v2y <- p2y - p0y
> v2z <- p2z - p0z
>
> # The cross product will give a vector orthogonal to the plane, (nx, ny, nz)
> nx <- v1y*v2z - v1z*v2y;
> ny <- v1z*v2x - v1x*...
2020 Oct 22
0
3d plot of earth with cut
> It should be a 2D slice/plane embedded into a 3D space.
I was able to come up with the plot, attached.
My intention was to plot national boundaries on the surface of a sphere.
And put the slice inside.
However, I haven't (as yet) worked out how to get the coordinates for
the boundaries.
Let me know, if of any value.
And I'll post the code.
(But needs to be polished first)
2020 Oct 22
2
3d plot of earth with cut
Thanks for your idea. It should be a 2D slice/plane embedded into a 3D
space. Could be static, I just need to make a single figure from it for
illustration of the Earth together with its interior in 3D. So, the
interior would be a slice in 2D along a fixed longitude. And along this 2D
slice would be a heatmap. Again, embedded in 3D, since it would be shown as
a slice of Earth in 3D.
Duncan?s
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking