MeshSolver.fix_vertex
- MeshSolver.fix_vertex(vertex=None, target=None, weight=100000.0)
Add closeness constraints to all vertices of a COMPAS mesh to the boundary edges. Valence of the vertices allows to select the corners.
- Parameters:
- vertexint, optional
Vertex to constrain. Default is None.
- target[float, float, float], optional
Target position for the vertex. Default is None.
- weightfloat, optional
Weight of the constraints. Default is 1e5.
- Returns:
- int
ID of the added constraint.