A few explanations:
Add: All methods starting with Add are used to add individual polygons and / or objects that are composed of multiple polygons.
Each polygon can be identified by an ID that must be inserted in the chosen Add method.
the ID is not unique, but more polygons can have the same ID. In this case, if you require the movement, rotation or color change and coordinate of an ID, all the polygons that have that ID will receive the requested change.
Rotate: Used to rotate polygons. If you enter null in the List Polygons field, it will rotate all the polygons present.
Rotate2: Same mwethod Rotate. But use a different mathematical formula for polygon rotation
MoveObj: Moves the polygons shown in the list (null for all polygons) making them slide on the axes.
PointClick: Checks whether the point on the screen corresponds to a polygon and returns its ID.
setColor: To change color to one the most polygons. Indicate the ID value
setVertices: To change the coordinates to one the most polygons. Indicate the ID value
LoadObjFile: Load an object saved in the obj format.
LoadObject3D: Load the saved objects in a proprietary format
SaveObject3D: Save the saved objects in a proprietary format
RenderToView: Used to display polygons on a panel.
It will be necessary to establish which coordinates (x, y) of the panel will serve as the zero point of the axes (usually the center of the panel), the Zoom value (Default = 1) and the Drawing Mode.
The drawing modes are 7.
0 - Transparency (to examine objects in transparency)
1 - Canvas without light effect
2 - Bitmapcreator without light effect
3 - Canvas with light effect
4 - Bitmapcreator with light effectù
10 - Automatic without light effect (Canvas up to 20,000 polygons, upper use BC)
20 - Automatic with light effect (Canvas up to 20 thousand polygons, upper use BC)
Variable for statistical purposes only
- DrawTime
- LoadTime
- RotateTime
- SortTime