RigidPart.find_closest_nodes_to_point

RigidPart.find_closest_nodes_to_point(point: Point, distance: float, number_of_nodes: int = 1, plane: Plane = None)

Find the n closest nodes within a distance of a given geometrical location.

Parameters:
  • point (compas.geometry.Point) – A geometrical location.

  • distance (float) – Distance from the location.

  • numnber_of_nodes (int) – Number of nodes to return.

  • plane (compas.geometry.Plane, optional) – Limit the search to one plane.

Returns:

list[compas_fea2.model.Node]