Difference between revisions of "AreConcurrent Command"

From GeoGebra Manual
Jump to: navigation, search
(IsTangent added)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}{{betamanual|version=5.0}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}
 
+
;AreConcurrent( <Line>, <Line>, <Line> )
{{warning|This GeoGebra command is heavily under construction. Expect to encounter various problems when trying it out. The syntax or the output of this command may be subject to change.}}
 
 
 
;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=<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 20: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).
© 2024 International GeoGebra Institute