FormIt Plugin API  v23.0.0 (2023.0.0)
WSM.Transf3d Namespace Reference

Description

WSM.Transf3d namespace.

Functions

json MakeRotationTransform (axis, angle)
 Create a transform for rotation Parameters: In: axis In: angle Out: transf3d. More...
 
json MakeScalingTransform (scaleCenter, factorVec)
 Create a transform for scaling Parameters: In: scaleCenter In: factorVec (x, y, z scaling factors) Out: transf3d. More...
 
json MakeTranslationTransform (vector)
 Returns a translation transform. More...
 
json MakeMirrorTransform (plane)
 Returns a mirror transform. More...
 
json MakeAlignedTransformFromPoints (src1, src2, src3, dst1, dst2, dst3)
 Returns a transform that aligns three points to three other points The transformation maps points as follows: More...
 
json MakeAlignedTransformFromPointsAndVectors (src1, src2, src3, dst1, dst2, dst3)
 Returns a transform that aligns a point and two vectors to another point and two vectors The transformation maps points and vectors as follows: More...
 
json MakeRigidTransform (origin, xDir, yDir, zDir)
 Create a rigid transformation. More...
 
json Transf3d (arg0, arg1, arg2, arg3)
 
json Invert (trans)
 Returns the inverted transform of an existing transform Parameters: In: WSM.Transf3d Out: WSM.Transf3d. More...
 
json IsIdentity (trans)
 Returns true if a transform is the identity transform, false otherwise Parameters: In: WSM.Transf3d Out: bool. More...
 
json AreEqual (trans1, trans2)
 
json SetValue (trans, i1, i2, value)
 Returns the given transform with the new value set at the (i1, i2) position. More...
 
json GetValue (trans, i1, i2)
 Returns the value at the (i1, i2) position of a transform Parameters: In: WSM.Transf3d, size_t, size_t Out: double. More...
 
json Multiply (trans, geomObject)
 
json GetCoordinateSystem (trans)
 Returns the coordinate system of a transform. More...
 
json SetOrigin (trans, origin)
 Sets the origin of a transform. More...