Difference between revisions of "TriangleCurve Command"

From GeoGebra Manual
Jump to: navigation, search
Line 4: Line 4:
 
:creates implicit polynomial, whose equation in [[w:Barycentric_coordinate_system_(mathematics)|barycentric coordinates]] with respect to points A,B,C is given by the fourth parameter.
 
:creates implicit polynomial, whose equation in [[w:Barycentric_coordinate_system_(mathematics)|barycentric coordinates]] with respect to points A,B,C is given by the fourth parameter.
  
{{Example|1=<code>TriangleCurve[P,Q,R,(A-B)*(B-C)*(C-A)=0] </code> gives a cubic curve consisting of perpendicular bisectors of all the segments PQ, QR, RP.}}
+
{{Example|1=If ''P,Q,R'' are points, <code>TriangleCurve[P,Q,R,(A-B)*(B-C)*(C-A)=0]</code> gives a cubic curve consisting of perpendicular bisectors of all the segments ''PQ, QR, RP''.}}
  
 
{{Note|The first three points can be called A,B or C, but in this case you cannot use e.g. x(A) in the equation, because A is interpreted as the barycentric coordinate.}}
 
{{Note|The first three points can be called A,B or C, but in this case you cannot use e.g. x(A) in the equation, because A is interpreted as the barycentric coordinate.}}

Revision as of 01:38, 5 February 2012



TriangleCurve[<Point A>,<Point B>,<Point C>,<Equation in A,B,C>]
creates implicit polynomial, whose equation in barycentric coordinates with respect to points A,B,C is given by the fourth parameter.
Example: If P,Q,R are points, TriangleCurve[P,Q,R,(A-B)*(B-C)*(C-A)=0] gives a cubic curve consisting of perpendicular bisectors of all the segments PQ, QR, RP.


Note: The first three points can be called A,B or C, but in this case you cannot use e.g. x(A) in the equation, because A is interpreted as the barycentric coordinate.
© 2024 International GeoGebra Institute