Points and line segments example

This example demonstrates the use of the previous packet. It draws a triangle, annotating its points and sides with names. Note that the coordinates of <#8877#>a<#8877#>, <#8878#>b<#8878#> and <#8879#>c<#8879#> should be chosen to fit the screen of the particular computer (see A.7).


#litout8942#

The resulting picture looks like:

(315,160)<#8938#> (010,010)<#8923#>(1,0)<#8882#>140<#8882#><#8923#> (150,010)<#8924#>(0,1)<#8883#>140<#8883#><#8924#> (010,010)<#8925#>(1,1)<#8884#>140<#8884#><#8925#> 271 (010,010)<#8885#>A<#8885#> (150,010)<#8886#>B<#8886#> (150,150)<#8887#>C<#8887#> (080,010)<#8926#>#math278##tex2html_wrap_inline9349#<#8926#> (150,080)<#8927#>#math279##tex2html_wrap_inline9351#<#8927#> (080,080)<#8928#>#math280##tex2html_wrap_inline9353#<#8928#> <#8938#>