Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Pno% is the number that refers to the TeLiTab sets the TeLiTab sets in the Data slot. Pno% should be an integer value or a parameter which is assigned an integer value and is the number of theTeLiTab set theTeLiTab set in the expressions data slot.
  • Ndim% is the number of dimensions, which is 2 for the POLYGON function.
  • Npoints% is the number of points (X,Y) that are given in direct definition.
  • @ObjFn() refers to the Object from which data will be used.
  • TeLiTab$ refers TeLiTab$ refers to the string parameter that contains the TeLiTab data the TeLiTab data to be used.
  • "ColLab$_1" and @ObjColPar_1 refer to the column containing the first values.
  • "ColLab$_2" and @ObjColPar_2 refer to the column containing the second values.
  • X_11, Y_12, X_21, Y_22,.., X_n1, Y_n2 are the X and Y coordinates of the points of the polygon that are given in the direct definition.
  • X0, Y0 are the X and Y coordinates of point (X0, Y0).
  • XN, YN are the X and Y coordinates of point (XN, YN).
  • Mode% is the option of the function. There are 25 mode. See Remarks for all options.

...

POLYGON(1, 2, "XC", "YC", X0, Y0, XN, YN, Mode)

with the TeLiTab of the TeLiTab of the previous example in the dataset gives the possibility to calculate properties of a line section within the polygon. Lets take a look at a line between the points (0,0) and (2,2):

...

POLYGON(1, 2, "XC", "YC", X0, Y0, 0, 0, Mode)

with the TeLiTab of the TeLiTab of the first example in the dataset gives the possibility to determine whether a point is located inside or outside a polygon. Lets take a look at the point (-0.5 , 0.5):

...