+ unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
91
src/Base/PlacementPy.xml
Normal file
91
src/Base/PlacementPy.xml
Normal file
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
||||
<PythonExport
|
||||
Father="PyObjectBase"
|
||||
Name="PlacementPy"
|
||||
Twin="Placement"
|
||||
TwinPointer="Placement"
|
||||
Include="Base/Placement.h"
|
||||
FatherInclude="Base/PyObjectBase.h"
|
||||
Namespace="Base"
|
||||
Constructor="true"
|
||||
Delete="true"
|
||||
FatherNamespace="Base">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
|
||||
<UserDocu>Placement
|
||||
A placement defines an orientation (rotation) and a position (base) in 3D space.
|
||||
It is used when no scaling or other distortion is needed.
|
||||
|
||||
The following constructors are supported:
|
||||
Placement() -- empty constructor
|
||||
Placement(Placement) -- copy constructor
|
||||
Placement(Matrix) -- 4D matrix consisting of rotation and translation
|
||||
Placement(Base, Rotation) -- define position and rotation
|
||||
Placement(Base, Rotation,Center) -- define position and rotation with center
|
||||
Placement(Base, Axis, Angle) -- define position and rotation
|
||||
</UserDocu>
|
||||
<DeveloperDocu>Placement</DeveloperDocu>
|
||||
</Documentation>
|
||||
<Methode Name="copy">>
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
copy()
|
||||
Returns a copy of this Placement
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="move">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
move(Vector)
|
||||
Move the placement along the vector
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="multiply">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
multiply(Placement)
|
||||
Multiply this placement with another placement
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="multVec">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
multVector(Vector) -> Vector
|
||||
Compute the transformed vector using the placement
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="toMatrix">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
toMatrix()
|
||||
convert the placement to a matrix representation
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="inverse">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
inverse() -> Placement
|
||||
compute the inverse placement
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Attribute Name="Base" ReadOnly="false">
|
||||
<Documentation>
|
||||
<UserDocu>Vector to the Base Position of the Placement</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Base" Type="Object" />
|
||||
</Attribute>
|
||||
<Attribute Name="Rotation" ReadOnly="false">
|
||||
<Documentation>
|
||||
<UserDocu>Orientation of the placement expressed as rotation</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Rotation" Type="Object" />
|
||||
</Attribute>
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
Reference in New Issue
Block a user