Questions tagged [cylindrical]
58 questions
0
votes
1 answer
Gnuplot and Spherical/Cylindrical plotting
I have some questions with plotting in 3D withe Gnuplot
I need to plot some data (from files) in spherical coordinates.
My data are organized as following,
azimuth zenith intensity
1 2 0.256e-2
2 2 0.156e-2
3 3 ... …

PsichO_RObi
- 1
- 3
0
votes
0 answers
Line Segment Raycasting Intersection as Cylinder
I'm writing an app in OpenGL and C++. I need to detect when the user clicks on a line segment with raycasting. However, because lines are only a pixel thick, I need to treat each line segment as a 3D cylinder to allow the user some leeway when…

user1765354
- 347
- 1
- 5
- 21
0
votes
0 answers
How to convert image to cylindrical shape?
I am using objective c language.
I want to convert my image to cylindrical shape. Here I am using below cpp file code to convert image.
cv::Mat CylindricalWarper2 (Mat img)
{
cv::Mat destImgMat(img.size(), CV_8U);
for(int y…

Ankit
- 1
- 3
0
votes
1 answer
Plot surface in cylindrical coordinate system in matlab
I have a function and want to plot it on cylindrical coordinate.
w(z,theta)=sin(n.pi.z/a).sin(m.theta)
The limits of variables are: z=0..a , theta=0..theta_0 and radius of cylinder is R=1.
As a physical sense I can explain that if we in the…

hamid
- 1
- 1
- 3
0
votes
0 answers
Wrap Image on cylindrical image using c#
I want to wrap one image on another image (This image will be containing object like cylinder.)
This will be the same effect like wrapper on any bottle.
I want to achieve it in asp.net.
I tried to search over internet but could not find the…

Sagar Joshi
- 574
- 3
- 10
- 25
0
votes
1 answer
Plotting a rectangular matrix into a circle
I have generated a rectangular matrix with the azimouth angle changing with rows and the radius changing as you change column. These are meant to represent the relative velocities experienced by a rotating helicopter blade. This produces a matrix…
0
votes
0 answers
Boundary conditions in MATLAB cellular automata model
I'm trying to write a code to implement a cellular automata model in MATLAB and I'm having difficulty at the boundaries. I am attempting to use cylindrical boundary conditions, so the top and bottom row activate one another whilst the left and right…

ren
- 13
- 1
- 3
0
votes
2 answers
Why does Python suddenly stop if the input is Yes?
I'm trying to make this program in Python which asks for the surface area and volume of a cylinder. At the end, it asks the user if it wants to calculate volume/surface area. However, if they do type in Yes, nothing happens. What is wrong with my…

Turbo
- 323
- 3
- 6
- 16
0
votes
2 answers
How to find volume of petrol in horizontal cylindrical tank?
I have a task find out the amount of petrol in a horizontal cylindrical tank.
I have 3 parameters. I tried this formula but did't get, help me please
V=A*L
radios=113.5,length=600,height=10 (height is level(cm) of petrol in Tank at end of the…

user2477724
- 141
- 1
- 4
- 10
0
votes
1 answer
MATLAB going from Cart to Pol back to Cart coords for cylindrical plot
1. What I WANT to do:
(i) Use input n to generate an n*n cartesian grid
[x y] = meshgrid(linspace(-1,1,n));
(ii) Generate polar coordinates
[theta r] = cart2pol(x,y);
(iii) Evaluate a function in cylindrical coordinates
z = f(theta,r); …

caseyalan
- 3
- 3
0
votes
0 answers
Linear programming add weight
I have been tasked with writing a linear program that will tell the user where to add weight onto a cylindrical drum in order to balance the center of gravity. The weights are 2 lbs and 5 lbs, and a Maximum of 10 lbs can be added into one location.…

user2007843
- 609
- 1
- 12
- 30
0
votes
1 answer
paste multiple images on the surface of a cylinder in ios and scroll it
I need a scroll view where multiple images are arranged in a cylindrical manner and on scrolling, the images should revolve like images on a glass cup. The cup should be slightly tilted so that the image at the back can also be seen. I tried using…

Abdur Rahman
- 21
- 3
-1
votes
2 answers
How to limit voronoi calculations in Matlab?
I have a stack of images of an elliptical cylinder. Within the cylinder are a few "dots"/seeds of importance. I've calculated the euclidean distance between them and the nearest neighbour. My next step is to make a voronoi diagram and calculate the…

Yotam Levy
- 1
- 2