Difference between revisions of "AreParallel Command"
From GeoGebra Manual
(add AreCongruent) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}} | ||
− | ;AreParallel | + | ;AreParallel( <Line>, <Line> ) |
:Decides if the lines are parallel. | :Decides if the lines are parallel. | ||
Normally this command computes the result numerically. This behavior can be changed by using the [[Prove Command|Prove]] command. | Normally this command computes the result numerically. This behavior can be changed by using the [[Prove Command|Prove]] command. | ||
:{{example| 1=<div><code><nowiki>AreParallel[Line[(1, 2), (3, 4)], Line[(5, 6),(7,8)]]</nowiki></code> yields ''true'' since the given lines are parallel.</div>}} | :{{example| 1=<div><code><nowiki>AreParallel[Line[(1, 2), (3, 4)], Line[(5, 6),(7,8)]]</nowiki></code> yields ''true'' since the given lines are parallel.</div>}} | ||
{{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcurrent Command|AreConcurrent]], [[AreCongruent Command|AreCongruent]], [[AreConcyclic Command|AreConcyclic]], [[AreEqual Command|AreEqual]], [[ArePerpendicular Command|ArePerpendicular]] commands.}} | {{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcurrent Command|AreConcurrent]], [[AreCongruent Command|AreCongruent]], [[AreConcyclic Command|AreConcyclic]], [[AreEqual Command|AreEqual]], [[ArePerpendicular Command|ArePerpendicular]] commands.}} |
Revision as of 17:15, 7 October 2017
- AreParallel( <Line>, <Line> )
- Decides if the lines are parallel.
Normally this command computes the result numerically. This behavior can be changed by using the Prove command.
- Example:
AreParallel[Line[(1, 2), (3, 4)], Line[(5, 6),(7,8)]]
yields true since the given lines are parallel.
Note: See also AreCollinear, AreConcurrent, AreCongruent, AreConcyclic, AreEqual, ArePerpendicular commands.