Skip to main content
Ctrl+K
Logo image

COMPAS Model

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • compas_model.algorithms
      • mesh_mesh_contacts
    • compas_model.elements
      • Element
      • Feature
    • compas_model.geometry
      • is_collision_poly_poly_xy
      • is_intersection_box_box
      • is_intersection_line_aabb
      • is_intersection_line_box
      • is_intersection_ray_aabb
      • is_intersection_ray_box
      • is_intersection_segment_aabb
      • is_intersection_segment_box
      • minkowski_difference_xy
      • minkowski_sum_xy
      • pca_box
    • compas_model.interactions
      • Contact
      • Modifier
    • compas_model.materials
      • Material
      • Concrete
      • Steel
      • Timber
    • compas_model.models
      • ElementNode
      • ElementTree
      • InteractionGraph
      • Model
    • compas_model.scene
      • ElementObject
      • ModelObject
  • License
COMPAS.dev
  • API Reference
  • InteractionGraph
  • InteractionGraph.node_neighborhood_centroid

InteractionGraph.node_neighborhood_centroid

InteractionGraph.node_neighborhood_centroid(key)

Return the computed centroid of the neighboring nodes.

Parameters:
keyhashable

The identifier of the node.

Returns:
compas.geometry.Point

The point at the centroid.

See also

node_coordinates(), node_point(), node_laplacian()
On this page
  • InteractionGraph.node_neighborhood_centroid()

© Copyright ETH Zurich - Block Research Group.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.13.3.