 GetPointsList - Maple Help

DataSets[Builtin][WorldMap]

 GetPointsList
 retrieve as a list all points stored in a WorldMap object Calling Sequence GetPointsList(m) Parameters

 m - a WorldMap object Description

 • The GetPointsList command returns the list of all points stored in m.
 • The points are sorted in the lexicographical order.
 • If a point does not have a string label, the empty string is assigned to it as a placeholder. Examples

 > $m≔\mathrm{DataSets}:-\mathrm{Builtin}:-\mathrm{WorldMap}\left(\left[\left[0,0\right],\left[0,-1,"Ocean"\right]\right]\right)$
 ${m}{≔}\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 2 points}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (1)
 > $\mathrm{GetPointsList}\left(m\right)$
 $\left[\left[{0}{,}{-1}{,}{"Ocean"}\right]{,}\left[{0}{,}{0}{,}{""}\right]\right]$ (2)
 > $\mathrm{AddPoints}\left(m,\left[\left[0,1\right],\left[-5,-5,"somewhere"\right]\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 4 points}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (3)
 > $\mathrm{GetPointsList}\left(m\right)$
 $\left[\left[{-5}{,}{-5}{,}{"somewhere"}\right]{,}\left[{0}{,}{-1}{,}{"Ocean"}\right]{,}\left[{0}{,}{0}{,}{""}\right]{,}\left[{0}{,}{1}{,}{""}\right]\right]$ (4)
 > $\mathrm{RemovePoint}\left(m,\left[0,-1,"Ocean"\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 3 points}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (5)
 > $\mathrm{GetPointsList}\left(m\right)$
 $\left[\left[{-5}{,}{-5}{,}{"somewhere"}\right]{,}\left[{0}{,}{0}{,}{""}\right]{,}\left[{0}{,}{1}{,}{""}\right]\right]$ (6)
 > Compatibility

 • The DataSets[Builtin][WorldMap][GetPointsList] command was introduced in Maple 2017.