polygonOffsetConvex()

Synopsis

Returns a list of points representing the polygon which is an offset of points (also interpreted as a polygon) by offset. The input list must represent a convex polygon, such as that produced by ConvexHull2D( ).

Polygons are represented in a "lightweight" way by a list of points . The first three non-colinear points define the "plane" of the polygon, even if the rest of the points do not lie in that plane, they will be projected onto that plane for all computations.

Syntax

polygonOffsetConvex ( points As List, _
                      offset As Number ) As List 
Argument Type Description
points List The polygon to be offset. Must be a convex polygon.
offset Number The distance to offset. Each side of the resulting polygon is offset distance away from the corresponding side of the input polygon.