Navigation Menu

Skip to content

Commit

Permalink
+ Fix constness attribute for TopoEdge and TopoWire
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 25, 2013
1 parent 60ec4e6 commit a2cba17
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
24 changes: 12 additions & 12 deletions src/Mod/Part/App/TopoShapeEdgePy.xml
Expand Up @@ -14,52 +14,52 @@
<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
<UserDocu>TopoShapeEdge is the OpenCasCade topological edge wrapper</UserDocu>
</Documentation>
<Methode Name="getParameterByLength">
<Methode Name="getParameterByLength" Const="true">
<Documentation>
<UserDocu>float = getParameterByLength(float) - Return parameter [First,Last]. Input value must be of [0|Length]</UserDocu>
</Documentation>
</Methode>
<Methode Name="tangentAt">
<Methode Name="tangentAt" Const="true">
<Documentation>
<UserDocu>Vector = tangentAt(pos) - Get the tangent at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="valueAt">
<Methode Name="valueAt" Const="true">
<Documentation>
<UserDocu>Vector = valueAt(pos) - Get the point at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="parameterAt">
<Methode Name="parameterAt" Const="true">
<Documentation>
<UserDocu>Float = parameterAt(Vertex) - Get the parameter at the given vertex if lying on the edge</UserDocu>
</Documentation>
</Methode>
<Methode Name="normalAt">
<Methode Name="normalAt" Const="true">
<Documentation>
<UserDocu>Vector = normalAt(pos) - Get the normal vector at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="derivative1At">
<Methode Name="derivative1At" Const="true">
<Documentation>
<UserDocu>Vector = d1At(pos) - Get the first derivative at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="derivative2At">
<Methode Name="derivative2At" Const="true">
<Documentation>
<UserDocu>Vector = d2At(pos) - Get the second derivative at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="derivative3At">
<Methode Name="derivative3At" Const="true">
<Documentation>
<UserDocu>Vector = d3At(pos) - Get the third derivative at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="curvatureAt">
<Methode Name="curvatureAt" Const="true">
<Documentation>
<UserDocu>Float = curvatureAt(pos) - Get the curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
</Methode>
<Methode Name="centerOfCurvatureAt">
<Methode Name="centerOfCurvatureAt" Const="true">
<Documentation>
<UserDocu>Vector = centerOfCurvatureAt(float pos) - Get the center of curvature at the given parameter [First|Last] if defined</UserDocu>
</Documentation>
Expand All @@ -69,7 +69,7 @@
<UserDocu>Set the tolerance for the edge.</UserDocu>
</Documentation>
</Methode>
<Methode Name="discretize">
<Methode Name="discretize" Const="true">
<Documentation>
<UserDocu>Discretizes the edge using a given deflection or number of points and returns a list of points</UserDocu>
</Documentation>
Expand Down Expand Up @@ -139,4 +139,4 @@ absolute Cartesian coordinate system.</UserDocu>
<ClassDeclarations>
</ClassDeclarations>
</PythonExport>
</GenerateModel>
</GenerateModel>
14 changes: 7 additions & 7 deletions src/Mod/Part/App/TopoShapeWirePy.xml
Expand Up @@ -14,7 +14,7 @@
<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
<UserDocu>TopoShapeWire is the OpenCasCade topological wire wrapper</UserDocu>
</Documentation>
<Methode Name="makeOffset">
<Methode Name="makeOffset" Const="true">
<Documentation>
<UserDocu>Offset the shape by a given ammount</UserDocu>
</Documentation>
Expand All @@ -29,29 +29,29 @@
<UserDocu>Fix wire</UserDocu>
</Documentation>
</Methode>
<Methode Name="makeHomogenousWires">
<Methode Name="makeHomogenousWires" Const="true">
<Documentation>
<UserDocu>Make this and the given wire homogenous to have the same number of edges</UserDocu>
</Documentation>
</Methode>
<Methode Name="makePipe">
<Methode Name="makePipe" Const="true">
<Documentation>
<UserDocu>Make a pipe by sweeping along a wire.</UserDocu>
</Documentation>
</Methode>
<Methode Name="makePipeShell">
<Methode Name="makePipeShell" Const="true">
<Documentation>
<UserDocu>makePipeShell(shapeList,[isSolid,isFrenet,transition])
Make a loft defined by a list of profiles along a wire. Transition can be
0 (default), 1 (right corners) or 2 (rounded corners).</UserDocu>
</Documentation>
</Methode>
<Methode Name="approximate">
<Methode Name="approximate" Const="true">
<Documentation>
<UserDocu>Approximate B-Spline-curve from this wire</UserDocu>
</Documentation>
</Methode>
<Methode Name="discretize">
<Methode Name="discretize" Const="true">
<Documentation>
<UserDocu>Discretizes the wire using a given deflection or number of points and returns a list of points</UserDocu>
</Documentation>
Expand All @@ -66,4 +66,4 @@ absolute Cartesian coordinate system.</UserDocu>
<Parameter Name="CenterOfMass" Type="Object"/>
</Attribute>
</PythonExport>
</GenerateModel>
</GenerateModel>

0 comments on commit a2cba17

Please sign in to comment.