plottools/triangulate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : plottools/triangulate

plottools

  

triangulate

  

triangulate plot data

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

triangulate(p, opts)

Parameters

p

-

a POLYGONS or POINTS structure

opts

-

zero or more options as described below.

Description

• 

The triangulate command takes a POLYGONS or POINTS structure and returns a POLYGONS structure containing a set of triangles which cover the region defined by p.

• 

If p is a POLYGONS structure, the result is a POLYGONS structure consisting only of triangles which covers the region defined by p. Note the polygons in the input p are not required to be convex.

• 

If p is a POINTS structure, the result is a POLYGONS structure consisting only of triangles in which every point in p appears as a corner of some triangle.

• 

The options opts should consist of options supported by plottools[polygon].

Examples

withplottools:

pts391,374,240,431,252,340,374,320,289,214,134,390,68,186,154,259,161,107,435,108,208,148,295,160,421,212,441,303

pts391,374,240,431,252,340,374,320,289,214,134,390,68,186,154,259,161,107,435,108,208,148,295,160,421,212,441,303

(1)

Pplottools:-polygonpts

QtriangulateP,style=line

QPOLYGONS391.374.240.431.252.340.,161.107.435.108.208.148.,208.148.295.160.421.212.,421.212.441.303.391.374.,154.259.161.107.208.148.,391.374.252.340.374.320.,134.390.68.186.154.259.,134.390.154.259.208.148.,289.214.134.390.208.148.,421.212.391.374.374.320.,289.214.208.148.421.212.,421.212.374.320.289.214.,STYLELINE

(2)

Compatibility

• 

The plottools[triangulate] command was introduced in Maple 2020.

• 

For more information on Maple 2020 changes, see Updates in Maple 2020.

See Also

ComputationalGeometry[DelaunayTriangulation]

ComputationalGeometry[PolygonTriangulation]

plottools