Type Command

From GeoGebra Manual
Revision as of 16:10, 31 May 2022 by Zbynek (talk | contribs) (Created page with "<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}} ;Type( <Object> ) For conics and quadrics this command returns a number representing the conic/quadric t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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

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


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