Download src/Mod/Mesh/App/Edge.pyi from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Mesh/App/Edge.pyi
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/Mesh/App/Edge.pyi
-
curl -L -o Edge.pyi https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/Mesh/App/Edge.pyi
1.75 kB
| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from typing import Final, Any | |
| from Base.Metadata import export | |
| from Base.PyObjectBase import PyObjectBase | |
| Include="Mod/Mesh/App/Edge.h", | |
| Namespace="Mesh", | |
| Constructor=True, | |
| Delete=True, | |
| ) | |
| class Edge(PyObjectBase): | |
| """ | |
| Edge in mesh | |
| This is an edge of a facet in a MeshObject. You can get it by e.g. iterating over the facets of a | |
| mesh and calling getEdge(index). | |
| Author: Werner Mayer (wmayer[at]users.sourceforge.net) | |
| License: LGPL-2.1-or-later | |
| """ | |
| def intersectWithEdge(self) -> Any: | |
| """intersectWithEdge(Edge) -> list | |
| Get a list of intersection points with another edge.""" | |
| ... | |
| def isParallel(self) -> Any: | |
| """isParallel(Edge) -> bool | |
| Checks if the two edges are parallel.""" | |
| ... | |
| def isCollinear(self) -> Any: | |
| """isCollinear(Edge) -> bool | |
| Checks if the two edges are collinear.""" | |
| ... | |
| def unbound(self) -> Any: | |
| """method unbound() | |
| Cut the connection to a MeshObject. The edge becomes | |
| free and is more or less a simple edge. | |
| After calling unbound() no topological operation will | |
| work!""" | |
| ... | |
| Index: Final[int] | |
| """The index of this edge of the facet""" | |
| Points: Final[list] | |
| """A list of points of the edge""" | |
| PointIndices: Final[tuple] | |
| """The index tuple of point vertices of the mesh this edge is built of""" | |
| NeighbourIndices: Final[tuple] | |
| """The index tuple of neighbour facets of the mesh this edge is adjacent with""" | |
| Length: Final[float] | |
| """The length of the edge""" | |
| Bound: Final[bool] | |
| """Bound state of the edge""" | |