v1.1
 
Solid Class Reference

Solid body. More...

Public Member Functions

self Shift (number dx, number dy, number dz)
 Shifts the solid.
 
self Rotate (Axis3D axis, number angle)
 Rotates the solid.
 
self Transform (Matrix3D matrix)
 Transform according to the matrix.
 
self Scale (Point3D fixedPoint, number xScale, number yScale, number zScale)
 Scales the solid.
 
Solid Clone ()
 Returns a copy of the object.
 
self ShowTangentEdges (boolean show)
 Sets visibility of the edges at the smooth junctions of the faces. All edges of the solid are visible by default.
 
boolean operator== (Solid other)
 Checks for equality.
 
boolean operator~= (Solid other)
 Checks for inequality.
 

Detailed Description

Solid body.

Member Function Documentation

◆ Rotate()

self Rotate ( Axis3D axis,
number angle )

Rotates the solid.

Parameters
axisAxis of rotation.
angleThe angle in radians.

◆ Scale()

self Scale ( Point3D fixedPoint,
number xScale,
number yScale,
number zScale )

Scales the solid.

Parameters
fixedPointFixed point.
xScaleX scale coefficient.
yScaleY scale coefficient.
zScaleZ scale coefficient.