1
<?xml version="1.0" encoding="UTF-8"?>
2
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
9
FatherInclude="Base/PyObjectBase.h"
13
FatherNamespace="Base">
15
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
16
<UserDocu>Base.Axis class.
18
An Axis defines a direction and a position (base) in 3D space.
20
The following constructors are supported:
30
Define from a position and a direction.
32
direction : Base.Vector</UserDocu>
33
<DeveloperDocu>Axis</DeveloperDocu>
35
<Methode Name="copy">>
37
<UserDocu>copy() -> Base.Axis
39
Returns a copy of this Axis.</UserDocu>
44
<UserDocu>move(vector) -> None
46
Move the axis base along the given vector.
49
Vector by which to move the axis.</UserDocu>
52
<Methode Name="multiply">
54
<UserDocu>multiply(placement) -> Base.Axis
56
Multiply this axis by a placement.
58
placement : Base.Placement
59
Placement by which to multiply the axis.</UserDocu>
62
<Methode Name="reversed">
64
<UserDocu>reversed() -> Base.Axis
66
Compute the reversed axis. This returns a new Base.Axis with
67
the original direction reversed.</UserDocu>
70
<Attribute Name="Base" ReadOnly="false">
72
<UserDocu>Base position vector of the Axis.</UserDocu>
74
<Parameter Name="Base" Type="Object" />
76
<Attribute Name="Direction" ReadOnly="false">
78
<UserDocu>Direction vector of the Axis.</UserDocu>
80
<Parameter Name="Direction" Type="Object" />