A cone is a 3-dimensional shape, while drawing on a computer is generally limited to two dimensions, and projection of three dimensions onto a flat (two-dimensional) canvas.
You can draw a cone very easily onto a 2-dimensional canvas if you are free to chose the viewing angle, and if that viewing angle does not need to change.
You could draw a triangle and state that it shows a side view of the cone, you could draw a circle and state that it shows the bottom view of the cone, or you could draw a circle with the center point marked, and state that it shows the top view of the cone.
You could draw all three, top, bottom and side view, and state it shows the cone in all three dimensions, in the way most 3-dimensional objects are shown in a technical drawing.
For creating a projection of a 3-dimensional cone from an arbitrary viewing angle, you should consult dedicated (but non-trivial!) literature on 3-D rendering. Many languages also support 3D graphics toolkits such as OpenGL.
It is not possible to draw a cone cylinder and triangular prism in this platform.
First you draw a wide oval shape then draw two straight lines that meet each other.
Be able to imagine the solid figure as if you are spinning it in your mind. Know every face. To draw a specific view, imagine being a tiny speck of a person standing at that viewpoint. What do you see? It should be a flat, two dimensional figure. For example, imagine a cone. Stand the cone on its base. Imagine that you pick up the cone and look at its base. What is it? A circle. A circle is easy to draw. Then draw it. You have to have a mental picture of every solid figure in your mind unless the solid figure is shown to you. You also must have the ability to picture objects turning in your mind.
You can draw a circle in assembly program by using a compass-like tool. Secure the tip of the compass and then rotate the compass tool so that it completes the circle.
#include<stdio.h> #include<conio.h> voidmain() { clrscr(); float r,s,area; printf("enter the values of r:"); scanf("%d",&r); printf("enter the values of s:"); scanf("%d",&s); area=3.14*r*s printf("the area of the cone is: %d",area); getch(); }
draw a line chart.
Write a C program to Draw a RAINBOW and fill the suitable colors ...
in BGIDEMO.C, part of TurboC
here you go nah...
It is not possible to draw a cone cylinder and triangular prism in this platform.
First you draw a wide oval shape then draw two straight lines that meet each other.
This is how you do it: Area = C(pi)r + (pi)r2 Where: C = the side length of the cone r = radius of the base (pi)r2 = the base of the cone C(pi)r = outside of cone
Custom program Aim and draw have in common
Custom program Aim and draw have in common
you can draw on it
With platform-dependent library-functions. Use your help system.
A cone is a geometric shape. If we "build" it, it may be easier to understand what it is. Start with a plane and put a circle in it. Now pick a point that is "above" the plane, and draw a line from the point to the circumference of the circle. Now draw another one. And another. If you draw all the lines from that point to the circle, you'll create a cone. If you picked a point that is on a line perpendicular to the plane and that goes through the center of the circle, then you have set the conditions to make a right circular cone. This 3-dimentional geometric figure is fun to investigate. Use the link below to lean more about the cone.