Transformation t = new Translation(10, 0, 0); Transformation r = new Rotation(Math.PI/6, Vector3D.AxisY); // angle in radians Transformation c = t * r; // combines the two transformations (order matters) Point3D pt = new (10, 20, 30); Point3D newPt = c * p; // transforms the point pt
Dim t As Transformation = New Translation(10, 0, 0) Dim r As Transformation = New Rotation(Math.PI/6, Vector3D.AxisY) ' angle in radians Dim c As Transformation = t * r ' combines the two transformations (order matters) Dim pt As Point3D = New (10, 20, 30) Dim ptNew As Point3D = c * p ' transforms the point pt
System.Object
devDept.Geometry.Transformation
devDept.Geometry.Align3D
devDept.Geometry.Identity
devDept.Geometry.Mirror
devDept.Geometry.Rotation
devDept.Geometry.Scaling
devDept.Geometry.Translation