Difference between revisions of "PerpendicularLine Command"

From GeoGebra Manual
Jump to: navigation, search
(PerpendicularLine[ <Point>, <Direction>, <Direction> ] instead of the 2 old syntaxes)
m (removed betamanual)
Line 10: Line 10:
 
:{{example|1=<div>Let ''u'' be a vector between two points: ''u'' = ''Vector''[ (5, 3), (1, 1) ] and A = (-2, 0) a point. <code><nowiki>PerpendicularLine[ A, u ]</nowiki></code> yields the line ''c: 2x + y = -4''.</div>}}
 
:{{example|1=<div>Let ''u'' be a vector between two points: ''u'' = ''Vector''[ (5, 3), (1, 1) ] and A = (-2, 0) a point. <code><nowiki>PerpendicularLine[ A, u ]</nowiki></code> yields the line ''c: 2x + y = -4''.</div>}}
  
{{Note|See also [[Image:Tool_Perpendicular_Line.gif]] [[Perpendicular Line Tool|Perpendicular Line]] tool.}}
 
 
 
{{betamanual|version=5.0|{{Note|1=From GeoGebra 5, this command will work in 3D as well}}}}
 
 
;PerpendicularLine[ <Point>, <Line> ]
 
;PerpendicularLine[ <Point>, <Line> ]
 
:Creates a line through the point perpendicular to the given line.
 
:Creates a line through the point perpendicular to the given line.
Line 24: Line 20:
 
:Creates a perpendicular line to the given directions (that can be lines or vectors) through the given point.  
 
:Creates a perpendicular line to the given directions (that can be lines or vectors) through the given point.  
 
;PerpendicularLine[ <Point>, <Line>, <Context> ]  
 
;PerpendicularLine[ <Point>, <Line>, <Context> ]  
:Creates a perpendicular line to the line through the point and depending on the context.
+
:Creates a perpendicular line to the line through the point and depending on the context.  
:{{examples| 1=<div>
+
:*PerpendicularLine[ <Point>, <Line>, <Plane> ] creates a perpendicular line to the given line through the point and parallel to the plane.
:*<code><nowiki>PerpendicularLine[ <Point>, <Line>, <Plane> ]</nowiki></code> 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| 1=This command yields undefined if the point is on the line in 3D.}}
+
 
:*<code><nowiki>PerpendicularLine[ <Point>, <Line>, Space ]</nowiki></code> creates a perpendicular line to the given line through the point. The two lines have an intersection point.</div>
+
{{Note|See also [[Image:Tool_Perpendicular_Line.gif]] [[Perpendicular Line Tool|Perpendicular Line]] tool.}}
}}
 

Revision as of 13:31, 29 July 2015


PerpendicularLine[ <Point>, <Line> ]
Creates a line through the point perpendicular to the given line.
Example:
Let c: -3x + 4y = -6 be a line and A = (-2, -3) a point. PerpendicularLine[ A, c ] yields the line d: -4x - 3y = 17.
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 be a vector between two points: u = Vector[ (5, 3), (1, 1) ] and A = (-2, 0) a point. PerpendicularLine[ A, u ] yields the line c: 2x + y = -4.


PerpendicularLine[ <Point>, <Line> ]
Creates a line through the point perpendicular to the given line.
Note: This command yields undefined if the point is on the line in 3D.
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 Tool Perpendicular Line.gif Perpendicular Line tool.
© 2024 International GeoGebra Institute