Difference between revisions of "TriangleCurve Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} | <noinclude>{{Manual Page|version=4.2}}</noinclude>{{betamanual|version=4.2}} | ||
{{command|geometry}} | {{command|geometry}} | ||
− | ;TriangleCurve[<Point | + | ;TriangleCurve[<Point P>,<Point Q>,<Point R>,<Equation in A,B,C>] |
− | :creates implicit polynomial, whose equation in [[w:Barycentric_coordinate_system_(mathematics)|barycentric coordinates]] with respect to points | + | :creates implicit polynomial, whose equation in [[w:Barycentric_coordinate_system_(mathematics)|barycentric coordinates]] with respect to points P, Q,R is given by the fourth parameter; the barycentric coordinates are refered to as A,B,C. |
{{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''.}} | {{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 | + | {{Note|The input 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 17:33, 12 July 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- TriangleCurve[<Point P>,<Point Q>,<Point R>,<Equation in A,B,C>]
- creates implicit polynomial, whose equation in barycentric coordinates with respect to points P, Q,R is given by the fourth parameter; the barycentric coordinates are refered to as A,B,C.
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 input 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.