*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
General
...
Program
...
Information
...
Basics
...
-
...
Pline
...
pline
...
-
...
a
...
function
...
that
...
renders
...
a
...
2
...
dimensional
...
triangle
...
by
...
connecting
...
points
...
and
...
lines.
...
pline(p1,p2,p3)
...
:=
...
- concat("_pline",sp,point(p1
...
- <0>
...
- ),sp,point(p2
...
- <0>
...
- ),sp,point(p3
...
- <0>
...
- ),sp,point(p1
...
- <0>
...
- ),sp)
...
Example
p1=
...
- x
...
- =
...
- 0
...
- y
...
- =
...
- 0
...
p2
...
=
...
- x
...
- =
...
- -0.5
...
- y
...
- =
...
- 0
...
p3
...
=
...
- x
...
- =
...
- 0
...
- y
...
- =
...
- 0.86603
...
pline(p1,p2,p3)
...
=
...
_pline
...
0,0
...
-0.5,0
...
0,0.86603
...
0,0
| Wiki Markup |
|---|
{float:left|border=2px solid black}
!pline1.bmp!
Top View
{float} |