Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

translate (List, offset1, offset2, offset3) → List of number [X coor, Y coor, Z coor]

It transforms a given three-element list (usually representing a point or a vector) by applying offset values provided in sequence, resulting in a new list.

Example:

Code Block
<O N="translateObject1" T="Project" Category="Functions" TransAlignRule="1">
    <!-- created by ParamML Examples on 8/23/2023 -->
    <P N="Point1" V="[10,5,20]" />
    <P N="Point2" V="translate(Point1,5,-5,10)" />
</O>
Image Added

To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objid91lkw8ws22ae7lqwb1cqme )