Looking at the Functions in Gppoly.lsp
The file gppoly.lsp contains a number of functions required for straightening a polyline when a single
grip has been stretched. Only some of these functions will be explained in depth in
concepts in the entire lesson. If you are a beginner, you may want to jump ahead to
the Building an Application section.
The functions within the gppoly.lsp file are organized in a way that you may have noticed in other AutoLISP source code
files. The highest-level function, often the main, or C: function (in this case, gp:Redefine-PolyBorder), is located at the bottom of the file. The functions called within the main function
are defined above it within the source file. This convention goes back to the old
days of programming, when some development environments required that files be organized
this way. With Visual LISP, this is a matter of personal style; there is no requirement
that you organize your functions in any specific sequence.
Before diving into the details, step back and look at what needs to be done to recalculate
and draw the garden path boundary. The following illustration shows an example of
a garden path, along with the association list key points stored in the reactor data:
In this example, the 12 key point is the lower-left corner, 13 is lower-right, and
so on. If the user moves the upper-right point (the 14 key point), the program will
need to recalculate two existing pointsâ€”the lower-right (13) and upper-left (15).
oiceover] Okay, with switches,…there are three main functions that they do. … But, again, the normal name…if you wanted to look at that CAM table…you …function. That is, it simply looks at each …… TCP (Transmission Control Protocol) is a standard that defines how to establish and maintain a network conversation via which application programs can exchange data. TCP works with the Internet Protocol (IP), which defines how computers send packets of data to each other.look-at matrix. … In this way, the D3DXMatrixLookAtLH function can be used as a parameter for another function. This function uses the …Looking at the functions in gppolylsp you will encounter entirely different source code you ll create a lisp file and begin writing autolisp code to support your …