RigidPart.find_closest_nodes_to_node

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

Find the n closest nodes around a given node (excluding the node itself).

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]