Computes position vectors at the desired locations in the u,v parameter space. :returns: list of vectors corresponding to the requested u,v positions :param uvs: iterable of u,v pairs.
(self, uvs: Iterable[tuple[Real, Real]])
| 3375 | return Location(Plane(Vector(p), Vector(du), Vector(du).cross(Vector(dv)))) |
| 3376 | |
| 3377 | def positions(self, uvs: Iterable[tuple[Real, Real]]) -> list[Vector]: |
| 3378 | """ |
| 3379 | Computes position vectors at the desired locations in the u,v parameter space. |
| 3380 | |
| 3381 | :returns: list of vectors corresponding to the requested u,v positions |
| 3382 | :param uvs: iterable of u,v pairs. |
| 3383 | """ |
| 3384 | p = gp_Pnt() |
| 3385 | vn = gp_Vec() |
| 3386 | rv = [] |
| 3387 | |
| 3388 | for u, v in uvs: |
| 3389 | BRepGProp_Face(self.wrapped).Normal(u, v, p, vn) |
| 3390 | rv.append(Vector(p)) |
| 3391 | |
| 3392 | return rv |
| 3393 | |
| 3394 | @multimethod |
| 3395 | def normalAt(self, locationVector: VectorLike | None = None) -> Vector: |