Difference between revisions of "PerpendicularLine Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|geometry}}
 
{{command|geometry}}
; PerpendicularLine[Point, Line]: Creates a line through the point perpendicular to the given line.
+
;PerpendicularLine[ <Point>, <Line> ]
; PerpendicularLine[Point, Segment]: Creates a line through the point perpendicular to the given segment.
+
:Creates a line through the point perpendicular to the given line.
; PerpendicularLine[Point, Vector]: Creates a line through the point perpendicular to the given vector.
+
:{{example|1=<div>Let <code><nowiki>c: -3x + 4y = -6</nowiki></code> be a line with the points <code><nowiki>A = (-2, -3)</nowiki></code> and <code><nowiki>B = (2, 0)</nowiki></code>. <code><nowiki>PerpendicularLine[ A, c ]</nowiki></code> yields the line ''d: -4x - 3y = 17''.</div>}}
 +
 
 +
 
 +
;PerpendicularLine[ <Point>, <Segment> ]
 +
:Creates a line through the point perpendicular to the given segment.
 +
:{{example|1=<div>Let <code><nowiki>c = 3.61</nowiki></code> be the segment between the two points <code><nowiki>A = (-3, 3)</nowiki></code> and <code><nowiki>B = (0, 1)</nowiki></code>. <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>Vector[ (5, 3), (1, 1) ]</nowiki></code> be the vector ''u'' 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>}}
 +
 
  
 
{{Note|See also [[Image:Tool_Perpendicular_Line.gif]] [[Perpendicular Line Tool|Perpendicular Line]] tool.}}
 
{{Note|See also [[Image:Tool_Perpendicular_Line.gif]] [[Perpendicular Line Tool|Perpendicular Line]] tool.}}

Revision as of 12:43, 15 July 2013



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


Note: See also Tool Perpendicular Line.gif Perpendicular Line tool.
© 2024 International GeoGebra Institute