Skip to main content
Ctrl+K
Logo image

COMPAS Model

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • compas_model.algorithms
    • compas_model.elements
      • BlockElement
      • BlockFeature
      • Element
      • Feature
    • compas_model.interactions
      • Interaction
      • ContactInteraction
    • compas_model.materials
      • Material
      • Concrete
    • compas_model.model
      • ElementNode
      • ElementTree
      • GroupNode
      • InteractionGraph
      • Model
    • compas_model.notebook
      • ThreeBlockObject
    • compas_model.scene
      • ElementObject
  • 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 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.