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.edge_vector

InteractionGraph.edge_vector

InteractionGraph.edge_vector(edge)

Return the vector of an edge.

Parameters:
edgetuple[hashable, hashable]

The identifier of the edge.

Returns:
compas.geometry.Vector

The vector from start to end.

See also

edge_direction(), edge_line(), edge_length()
On this page
  • InteractionGraph.edge_vector()

© Copyright ETH Zurich - Block Research Group.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.