Difference between revisions of "Type Command"

From GeoGebra Manual
Jump to: navigation, search
(Hyperboloid is always 1 or 2 sheets)
m (typo)
 
Line 72: Line 72:
 
|36
 
|36
 
|
 
|
|Hyperboloid one sheet
+
|Hyperboloid of one sheet
 
|-
 
|-
 
|37
 
|37
 
|
 
|
|Hyperboloid two sheets
+
|Hyperboloid of two sheets
 
|-
 
|-
 
|38
 
|38

Latest revision as of 13:07, 7 June 2022


Type( <Object> )

For conics and quadrics this command returns a number representing the conic/quadric type according to the table below. In this context empty conic (or quadric) is one where all coefficients are defined, but the conic (quadric) contains no points, e.g. x2+y2=-1. For conics GeoGebra distinguishes double line (special case of parallel lines with distance 0) and single line (special case of circle with infinite diameter, may result from circle inversion). For quadrics there is no such distinction.

Example: Type(x²+y²=1) yields 4 which stands for circle.


Value Type of conic Type of quadric
1 Single point Single point
2 Intersecting lines
3 Ellipse Ellipsoid
4 Circle Sphere
5 Hyperbola
6 Empty Empty
7 Double line
8 Parallel lines
9 Parabola Paraboloid
10 Line Line
30 Cone
31 Cylinder
33 Plane
34 Parallel planes
35 Intersecting planes
36 Hyperboloid of one sheet
37 Hyperboloid of two sheets
38 Parabolic cylinder
39 Hyperbolic cylinder
40 Hyperbolic paraboloid
© 2024 International GeoGebra Institute