Difference between revisions of "AreConcurrent Command"
From GeoGebra Manual
m (Parallel case explained) |
(IsTangent added) |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}} |
− | {{command|logical | + | ;AreConcurrent( <Line>, <Line>, <Line> ) |
− | |||
− | ;AreConcurrent | ||
: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= | + | :{{example| 1=<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).}} |
− | {{Note| See also [[AreCollinear Command|AreCollinear]], [[AreConcyclic Command|AreConcyclic]], [[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]], [[IsTangent Command|IsTangent]] commands.}} |
Latest revision as of 21:37, 16 May 2018
- 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, IsTangent commands.