Difference between revisions of "Help:Sandbox"
From GeoGebra Manual
(Made a sandbox that I can edit.) |
(Some documentation for students) |
||
Line 1: | Line 1: | ||
− | + | ;Circle( <Point>, <Radius Number> ):Yields a circle with given center and radius. | |
+ | ;Circle( <Point>, <Segment> ):Yields a circle with given center and radius equal to the length of the given segment. | ||
+ | ;Circle( <Point>, <Point> ):Yields a circle with given center through a given point. | ||
+ | ;Circle( <Point>, <Point>, <Point> ):Yields a circle through the three given points (if they do not lie on the same line). | ||
+ | |||
+ | ;Line( <Point>, <Point> ):Creates a line through two points ''A'' and ''B''. | ||
+ | ;Line( <Point>, <Parallel Line> ):Creates a line through the given point parallel to the given line. | ||
+ | ;Line( <Point>, <Direction Vector> ):Creates a line through the given point with direction vector ''v''. | ||
+ | |||
+ | {{Note|1=See also [[File:Mode join.svg|link=|24px]] [[Line Tool|Line]] and [[File:Mode parallel.svg|link=|24px]] [[Parallel Line Tool|Parallel Line]] tools.}} | ||
+ | |||
+ | ;PerpendicularLine( <Point>, <Line> ) | ||
+ | :Creates a line through the point perpendicular to the given line. | ||
+ | :{{example|1=<div>Let <code><nowiki>c: -3x + 4y = -6</nowiki></code> be a line and <code><nowiki>A = (-2, -3)</nowiki></code> a point. <code><nowiki>PerpendicularLine(A, c)</nowiki></code> yields the line ''d'': -4''x'' - 3''y'' = 17.</div>}} | ||
+ | :{{note| 1=For 3D objects a third argument is added to this command to specify the behavior: if 2D view is active, plane <i>z=0</i> is used as third argument, if 3D view is active, <i>space</i> is used instead. See PerpendicularLine( <Point>, <Line>, <Context> ) further below for details.}} | ||
+ | ;PerpendicularLine( <Point>, <Segment> ) | ||
+ | :Creates a line through the point perpendicular to the given segment. | ||
+ | :{{example|1=<div>Let ''c'' be the segment between the two points ''A'' = (-3, 3) and ''B'' = (0, 1). <code><nowiki>PerpendicularLine(A, c)</nowiki></code> yields the line ''d: -3x + 2y = 15''.</div>}} | ||
+ | ;PerpendicularLine( <Point>, <Vector> ) | ||
+ | :Creates a line through the point perpendicular to the given vector. | ||
+ | :{{example|1=<div>Let <code><nowiki>u = Vector((5, 3), (1, 1))</nowiki></code> and <code><nowiki>A = (-2, 0)</nowiki></code> a point. <code><nowiki>PerpendicularLine(A, u)</nowiki></code> yields the line ''c: 2x + y = -4''.</div>}} | ||
+ | |||
+ | |||
+ | ;PerpendicularLine( <Point>, <Plane> ) | ||
+ | :Creates a perpendicular line to the plane through the given point. | ||
+ | ;PerpendicularLine( <Line> , <Line> ) | ||
+ | :Creates a perpendicular line to the given lines through the intersection point of the two lines. | ||
+ | ;PerpendicularLine( <Point>, <Direction>, <Direction> ) | ||
+ | :Creates a perpendicular line to the given directions (that can be lines or vectors) through the given point. | ||
+ | ;PerpendicularLine( <Point>, <Line>, <Context> ) | ||
+ | :Creates a perpendicular line to the line through the point and depending on the context. | ||
+ | :*PerpendicularLine( <Point>, <Line>, <Plane> ) creates a perpendicular line to the given line through the point and parallel to the plane. | ||
+ | :*PerpendicularLine( <Point>, <Line>, space ) creates a perpendicular line to the given line through the point. The two lines have an intersection point. This command yields undefined if the point is on the line in 3D. | ||
+ | |||
+ | {{Note|See also [[File:Mode linebisector.svg|link=|22px]] [[Perpendicular Line Tool|Perpendicular Line]] tool.}} | ||
+ | |||
+ | ; Point( <Object> ): Returns a point on the geometric object. The resulting point can be moved along the [[Geometric Objects#Paths|path]]. | ||
+ | ; Point( <Object>, <Parameter> ): Returns a point on the geometric object with given [[PathParameter Command|path parameter]]. | ||
+ | ; Point( <Point>, <Vector> ): Creates a new point by adding the vector to the given point. | ||
+ | ; Point( <List> ): Converts a list containing two numbers into a Point. | ||
+ | :{{example|1=<code><nowiki> Point({1, 2})</nowiki></code> yields ''(1, 2)''.}} | ||
+ | {{Note| See also [[File:Mode point.svg|link=|24px]] [[Point Tool|Point]] tool.}} | ||
+ | |||
+ | ; Vector( <Point> ) | ||
+ | : Returns the position vec'''Bold text'''tor of the given point. | ||
+ | :{{example|1=<div><code><nowiki>Vector((3, 2))</nowiki></code> yields ''u = <math>\begin{pmatrix}3\\2\end{pmatrix}</math>''.</div>}} | ||
+ | ; Vector( <Start Point>, <End Point> ) | ||
+ | : Creates a vector from ''Start Point'' to ''End Point''. | ||
+ | :{{example|1=<div><code><nowiki>Vector((1, 1), (3, 4))</nowiki></code> yields ''u = <math>\begin{pmatrix}2\\3\end{pmatrix}</math>''.</div>}} | ||
+ | {{Note| See also [[File:Mode vector.svg|link=|24px]] [[Vector Tool|Vector]] tool.}} | ||
+ | |||
+ | {{Tool|icon=Mode vectorfrompoint.svg|name={{PAGENAME}}|type=line}} | ||
+ | : Select a point ''A'' and a vector ''v'' to create the new point ''B = A + v'' as well as the vector from ''A'' to ''B''. | ||
+ | : {{note|See also [[Vector Command|Vector]] command.}} |
Revision as of 22:16, 17 February 2018
- Circle( <Point>, <Radius Number> )
- Yields a circle with given center and radius.
- Circle( <Point>, <Segment> )
- Yields a circle with given center and radius equal to the length of the given segment.
- Circle( <Point>, <Point> )
- Yields a circle with given center through a given point.
- Circle( <Point>, <Point>, <Point> )
- Yields a circle through the three given points (if they do not lie on the same line).
- Line( <Point>, <Point> )
- Creates a line through two points A and B.
- Line( <Point>, <Parallel Line> )
- Creates a line through the given point parallel to the given line.
- Line( <Point>, <Direction Vector> )
- Creates a line through the given point with direction vector v.
Note: See also Line and Parallel Line tools.
- PerpendicularLine( <Point>, <Line> )
- Creates a line through the point perpendicular to the given line.
- Example:Let
c: -3x + 4y = -6
be a line andA = (-2, -3)
a point.PerpendicularLine(A, c)
yields the line d: -4x - 3y = 17.
- Note: For 3D objects a third argument is added to this command to specify the behavior: if 2D view is active, plane z=0 is used as third argument, if 3D view is active, space is used instead. See PerpendicularLine( <Point>, <Line>, <Context> ) further below for details.
- PerpendicularLine( <Point>, <Segment> )
- Creates a line through the point perpendicular to the given segment.
- Example:Let c be the segment between the two points A = (-3, 3) and B = (0, 1).
PerpendicularLine(A, c)
yields the line d: -3x + 2y = 15.
- PerpendicularLine( <Point>, <Vector> )
- Creates a line through the point perpendicular to the given vector.
- Example:Let
u = Vector((5, 3), (1, 1))
andA = (-2, 0)
a point.PerpendicularLine(A, u)
yields the line c: 2x + y = -4.
- PerpendicularLine( <Point>, <Plane> )
- Creates a perpendicular line to the plane through the given point.
- PerpendicularLine( <Line> , <Line> )
- Creates a perpendicular line to the given lines through the intersection point of the two lines.
- PerpendicularLine( <Point>, <Direction>, <Direction> )
- Creates a perpendicular line to the given directions (that can be lines or vectors) through the given point.
- PerpendicularLine( <Point>, <Line>, <Context> )
- Creates a perpendicular line to the line through the point and depending on the context.
- PerpendicularLine( <Point>, <Line>, <Plane> ) creates a perpendicular line to the given line through the point and parallel to the plane.
- PerpendicularLine( <Point>, <Line>, space ) creates a perpendicular line to the given line through the point. The two lines have an intersection point. This command yields undefined if the point is on the line in 3D.
Note: See also Perpendicular Line tool.
- Point( <Object> )
- Returns a point on the geometric object. The resulting point can be moved along the path.
- Point( <Object>, <Parameter> )
- Returns a point on the geometric object with given path parameter.
- Point( <Point>, <Vector> )
- Creates a new point by adding the vector to the given point.
- Point( <List> )
- Converts a list containing two numbers into a Point.
- Example:
Point({1, 2})
yields (1, 2).
Note: See also Point tool.
- Vector( <Point> )
- Returns the position vecBold texttor of the given point.
- Example:
Vector((3, 2))
yields u = \begin{pmatrix}3\\2\end{pmatrix}.
- Vector( <Start Point>, <End Point> )
- Creates a vector from Start Point to End Point.
- Example:
Vector((1, 1), (3, 4))
yields u = \begin{pmatrix}2\\3\end{pmatrix}.
Note: See also Vector tool.
- Select a point A and a vector v to create the new point B = A + v as well as the vector from A to B.
- Note: See also Vector command.