v1.1
 
GeometrySet2D Class Reference

A set of geometric primitives that can include 2D curves and fills. More...

Public Member Functions

 GeometrySet2D ()
 Constructor.
 
self AddCurve (Curve2D curve)
 Adds a curve to geometry set.
 
self Shift (number x, number y)
 Shifts the geometry set.
 
self Rotate (Point2D point, number angle)
 Rotates the geometry set.
 
self Scale (Point2D point, number scale_x, number scale_y)
 Scales relative to the point.
 
self Transform (Matrix2D matrix)
 Transforms according to the matrix.
 
GeometrySet2D Clone ()
 Returns a copy of the object.
 
self AddMaterialColorSolidArea (FillArea curve)
 Adds an area filled with the material color.
 
self AddLineColorSolidArea (FillArea curve)
 Adds an area filled with the line color.
 
boolean operator== (GeometrySet2D other)
 Checks for equality.
 
boolean operator~= (GeometrySet2D other)
 Checks for inequality.
 

Detailed Description

A set of geometric primitives that can include 2D curves and fills.

Member Function Documentation

◆ operator==()

boolean operator== ( GeometrySet2D other)

Checks for equality.

Since
v1.1

◆ operator~=()

boolean operator~= ( GeometrySet2D other)

Checks for inequality.

Since
v1.1

◆ Rotate()

self Rotate ( Point2D point,
number angle )

Rotates the geometry set.

Parameters
pointRotation center.
angleRotation angle in radians.

◆ Scale()

self Scale ( Point2D point,
number scale_x,
number scale_y )

Scales relative to the point.

Parameters
pointFixed point.
scale_xScale on the X-axis.
scale_yScale on the Y-axis.