From ee4f4e8cb718458102a40850b829138cf796332d Mon Sep 17 00:00:00 2001 From: marioalexis Date: Tue, 31 May 2022 16:35:03 -0300 Subject: [PATCH] Base: Improve docstrings in CoordinateSystemPy.xml --- src/Base/CoordinateSystemPy.xml | 46 +++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/src/Base/CoordinateSystemPy.xml b/src/Base/CoordinateSystemPy.xml index dc87ef5022..db153b227d 100644 --- a/src/Base/CoordinateSystemPy.xml +++ b/src/Base/CoordinateSystemPy.xml @@ -14,68 +14,76 @@ This is the CoordinateSystem export class - + Base.CoordinateSystem class.\n +An orthonormal right-handed coordinate system in 3D space.\n +CoordinateSystem() +Empty constructor. - setAxes(Axis or Vector z, Vector x) -Set axis or z direction and x direction + setAxes(axis, xDir) -> None\n +Set axis or Z-direction, and X-direction. +The X-direction is determined from the orthonormal compononent of `xDir` +with respect to `axis` direction.\n +axis : Base.Axis, Base.Vector +xDir : Base.Vector - displacement(CoordinateSystem) -Computes the placement from this to the passed coordinate system + displacement(coordSystem2) -> Base.Placement\n +Computes the placement from this to the passed coordinate system `coordSystem2`.\n +coordSystem2 : Base.CoordinateSystem - transformTo(Vector) -Computes the coordinates of the point in coordinates of this system - + transformTo(vector) -> Base.Vector\n +Computes the coordinates of the point in coordinates of this coordinate system.\n +vector : Base.Vector - transform(Rotation or Placement) -Applies the rotation or placement on this coordinate system - + transform(trans) -> None\n +Applies a transformation on this coordinate system.\n +trans : Base.Rotation, Base.Placement - setPlacment(Placement) -Set placement to the coordinate system. - + setPlacment(placement) -> None\n +Set placement to the coordinate system.\n +placement : Base.Placement - Set or get axis + Set or get axis. - Set or get x direction + Set or get X-direction. - Set or get y direction + Set or get Y-direction. - Set or get z direction + Set or get Z-direction. - Set or get position + Set or get position.