TriangleSetPoints
TriangleSetPoints[
,points]
sets the points in a Triangle expression.
Details and Options
Examples
Basic Examples
See Also
Tech Notes
Related Guides
TriangleLink`
TriangleLink`
TriangleSetPoints
TriangleSetPoints[
,points]
sets the points in a Triangle expression.
Details and Options
- To use TriangleSetPoints, you first need to load it using Needs["TriangleLink`"].
- The points loaded into a Triangle expression must be a list of
coordinates.
Examples
Basic Examples (1)
Needs["TriangleLink`"]This creates an instance of a Triangle expression:
inst = TriangleCreate[]These are points to load to the instance:
pts = {{0., 0.}, {2., 0.}, {2., 2.}, {0., 2.}};This loads the points to the instance:
TriangleSetPoints[inst, pts]This retrieves the points from the instance:
TriangleGetPoints[inst]