Difference between revisions of "AreConcurrent 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}} | ||
− | ;AreConcurrent | + | ;AreConcurrent( <Line>, <Line>, <Line> ) |
:Decides if the lines are concurrent. If the lines are parallel, they considered to have a common point in infinity, thus this command returns ''true'' in this case. | :Decides if the lines are concurrent. If the lines are parallel, they considered to have a common point in infinity, thus this command returns ''true'' in this case. | ||
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>AreConcurrent[Line[(1, 2), (3, 4)], Line[(1, 2), (3, 5)], Line[(1, 2), (3, 6)]]</nowiki></code> yields ''true'' since all three lines contain the point (1,2).</div>}} | :{{example| 1=<div><code><nowiki>AreConcurrent[Line[(1, 2), (3, 4)], Line[(1, 2), (3, 5)], Line[(1, 2), (3, 6)]]</nowiki></code> yields ''true'' since all three lines contain the point (1,2).</div>}} | ||
{{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcyclic Command|AreConcyclic]], [[AreCongruent Command|AreCongruent]], [[AreEqual Command|AreEqual]], [[ArePerpendicular Command|ArePerpendicular]], [[AreParallel Command|AreParallel]] commands.}} | {{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcyclic Command|AreConcyclic]], [[AreCongruent Command|AreCongruent]], [[AreEqual Command|AreEqual]], [[ArePerpendicular Command|ArePerpendicular]], [[AreParallel Command|AreParallel]] commands.}} |
Revision as of 17:16, 7 October 2017
- AreConcurrent( <Line>, <Line>, <Line> )
- Decides if the lines are concurrent. If the lines are parallel, they considered to have a common point in infinity, thus this command returns true in this case.
Normally this command computes the result numerically. This behavior can be changed by using the Prove command.
- Example:
AreConcurrent[Line[(1, 2), (3, 4)], Line[(1, 2), (3, 5)], Line[(1, 2), (3, 6)]]
yields true since all three lines contain the point (1,2).
Note: See also AreCollinear, AreConcyclic, AreCongruent, AreEqual, ArePerpendicular, AreParallel commands.