Sponsored Content
Full Discussion: FORTRAN Extends
Top Forums Programming FORTRAN Extends Post 302921934 by kristinu on Tuesday 21st of October 2014 07:54:48 AM
Old 10-21-2014
A cuboid is not a prism.

A cuboid is a polyhedron bounded by six quadrilateral faces.

A prism is a polyhedron where all vertices lie in two parallel planes, having an equal number of vertices in each of the two parallel planes, and the n-point polygons of the two parallel bases are congruent to one another with the same rotational orientation.
 

We Also Found This Discussion For You

1. Programming

Problem with <T extends Comparable<? super T>>>

Hi guys, I have a three class: 1. Class Algorithm having max() finding maximum value in a Collection public class Algorithm { public static <T extends Comparable<T>> T max(Collection<? extends T> coll) { T max = coll.iterator().next(); for (T elm : coll) { ... (0 Replies)
Discussion started by: majid.merkava
0 Replies
ico(1X) 																   ico(1X)

NAME
ico - animate an icosahedron or other polyhedron SYNOPSIS
ico [-display display] [-geometry geometry] [-r] [-d pattern] [-i] [-dbl] [-faces] [-noedges] [-sleep n] [-obj object] [-objhelp] [-colors color-list] OPTIONS
Display on the root window instead of creating a new window. Specify a bit pattern for drawing dashed lines for wire frames. Use inverted colors for wire frames. Use double buffering on the display. This works for either wire frame or solid fill drawings. For solid fill draw- ings, using this switch results in substantially smoother movement. Note that this requires twice as many bit planes as without double buffering. Since some colors are typically allocated by other programs, most eight-bit-plane displays will probably be limited to eight colors when using double buffering. Draw filled faces instead of wire frames. Do not draw the wire frames. Typically used only when -faces is used. Sleep n seconds between each move of the object. Specify what object to draw. If no object is specified, an icosahedron is drawn. Print out a list of the available objects, along with information about each object. Specify what colors should be used to draw the filled faces of the object. If less colors than faces are given, the colors are reused. DESCRIPTION
The ico command displays a wire-frame rotating polyhedron, with hidden lines removed, or a solid-fill polyhedron with hidden faces removed. There are a number of different polyhedra available; adding a new polyhedron to the program is quite simple. ADDING POLYHEDRA
If you have the source to ico, it is very easy to add more polyhedra. Each polyhedron is defined in an include file by the name of <objXXX.h>, where XXX is something related to the name of the polyhedron. The format of the include file is defined in the file <poly- info.h>. Look at the file <objcube.h> to see what the exact format of an <objXXX.h> file should be, then create your <objXXX.h> file in that format. After making the new <objXXX.h> file (or copying in a new one from elsewhere), simply do a 'make depend'. This will recreate the file <allobjs.h>, which lists all of the <objXXX.h> files. Doing a 'make' after this will rebuild ico with the new object information. BUGS
The root window is not refreshed after ico -r exits; the last-displayed ico pattern remains. Pyramids and tetrahedrons with filled faces do not display correctly. A separate color cell is allocated for each name in the -colors list, even when the same name may be specified twice. COPYRIGHT
Copyright 1988, X Consortium See X(1X) for a full statement of rights and permissions. SEE ALSO
X(1X) ico(1X)
All times are GMT -4. The time now is 09:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy