1
<?xml version="1.0" encoding="UTF-8"?>
2
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
5
Name="CoordinateSystemPy"
6
Twin="CoordinateSystem"
7
TwinPointer="CoordinateSystem"
8
Include="Base/CoordinateSystem.h"
9
FatherInclude="Base/PyObjectBase.h"
13
FatherNamespace="Base">
15
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
16
<DeveloperDocu>This is the CoordinateSystem export class</DeveloperDocu>
17
<UserDocu>Base.CoordinateSystem class.
19
An orthonormal right-handed coordinate system in 3D space.
22
Empty constructor.</UserDocu>
24
<Methode Name="setAxes">
26
<UserDocu>setAxes(axis, xDir) -> None
28
Set axis or Z-direction, and X-direction.
29
The X-direction is determined from the orthonormal compononent of `xDir`
30
with respect to `axis` direction.
32
axis : Base.Axis, Base.Vector
33
xDir : Base.Vector</UserDocu>
36
<Methode Name="displacement" Const="true">
38
<UserDocu>displacement(coordSystem2) -> Base.Placement
40
Computes the placement from this to the passed coordinate system `coordSystem2`.
42
coordSystem2 : Base.CoordinateSystem</UserDocu>
45
<Methode Name="transformTo">
47
<UserDocu>transformTo(vector) -> Base.Vector
49
Computes the coordinates of the point in coordinates of this coordinate system.
51
vector : Base.Vector</UserDocu>
54
<Methode Name="transform">
56
<UserDocu>transform(trans) -> None
58
Applies a transformation on this coordinate system.
60
trans : Base.Rotation, Base.Placement</UserDocu>
63
<Methode Name="setPlacement">
65
<UserDocu>setPlacment(placement) -> None
67
Set placement to the coordinate system.
69
placement : Base.Placement</UserDocu>
72
<Attribute Name="Axis" ReadOnly="false">
74
<UserDocu>Set or get axis.</UserDocu>
76
<Parameter Name="Axis" Type="Object" />
78
<Attribute Name="XDirection" ReadOnly="false">
80
<UserDocu>Set or get X-direction.</UserDocu>
82
<Parameter Name="XDirection" Type="Object" />
84
<Attribute Name="YDirection" ReadOnly="false">
86
<UserDocu>Set or get Y-direction.</UserDocu>
88
<Parameter Name="YDirection" Type="Object" />
90
<Attribute Name="ZDirection" ReadOnly="false">
92
<UserDocu>Set or get Z-direction.</UserDocu>
94
<Parameter Name="ZDirection" Type="Object" />
96
<Attribute Name="Position" ReadOnly="false">
98
<UserDocu>Set or get position.</UserDocu>
100
<Parameter Name="Position" Type="Object" />