Download src/Mod/Part/App/Geom2d/Geometry2d.pyi from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.59 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/Geom2d/Geometry2d.pyi
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Part/App/Geom2d/Geometry2d.pyi
-
curl -L -o Geometry2d.pyi https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Part/App/Geom2d/Geometry2d.pyi
1.59 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from Base.Metadata import export, constmethod | |
| from Base.PyObjectBase import PyObjectBase | |
| Twin="Geometry2d", | |
| TwinPointer="Geometry2d", | |
| PythonName="Part.Geom2d.Geometry2d", | |
| Include="Mod/Part/App/Geometry2d.h", | |
| Constructor=True, | |
| Delete=True, | |
| ) | |
| class Geometry2d(PyObjectBase): | |
| """ | |
| The abstract class Geometry for 2D space is the root class of all geometric objects. | |
| It describes the common behavior of these objects when: | |
| - applying geometric transformations to objects, and | |
| - constructing objects by geometric transformation (including copying). | |
| Author: Werner Mayer (wmayer@users.sourceforge.net) | |
| Licence: LGPL | |
| """ | |
| def mirror(self) -> None: | |
| """ | |
| Performs the symmetrical transformation of this geometric object. | |
| """ | |
| ... | |
| def rotate(self) -> None: | |
| """ | |
| Rotates this geometric object at angle Ang (in radians) around a point. | |
| """ | |
| ... | |
| def scale(self) -> None: | |
| """ | |
| Applies a scaling transformation on this geometric object with a center and scaling factor. | |
| """ | |
| ... | |
| def transform(self) -> None: | |
| """ | |
| Applies a transformation to this geometric object. | |
| """ | |
| ... | |
| def translate(self) -> None: | |
| """ | |
| Translates this geometric object. | |
| """ | |
| ... | |
| def copy(self) -> "Geometry2d": | |
| """ | |
| Create a copy of this geometry. | |
| """ | |
| ... | |