@beta This is part of the Property Insights Beta

Defines an edge of a bounded region. Edges correspond to walls or borders of rooms, represented as a collection of metadata and vertices on a 2D plane within the model.

GraphQL Schema definition

  • type Edge implements LayeredElement {
  • id: ID!
  • # The layer the Edge is associated with.
  • layer: ModelLayer
  • # The type of feature this edge represents.
  • # E.g. wall, room division, etc.
  • type: EdgeType
  • # The ordered list of two vertices defining the start and end of this edge.
  • #
  • # Edge.vertices ordered directionality is only considered for
  • # edge-referential positional data (e.g. centerLineBias,
  • # Opening.relativeCenter) and is not a factor in traversability
  • # of the edge as part of a larger bounded region.
  • vertices: [Vertex!]
  • # Edges in Matterport Showcase/Workshop are represented with a line and
  • # a projected thickness around the line.
  • #
  • # Edge.centerLineBias establishes where the line representing the edge
  • # is positioned within the projected thickness. E.g. a value of 0.5
  • # would place for half of the thickness on either side of the edge's line.
  • centerLineBias: Float
  • # The thickness of the feature (e.g. a wall) this edge represents.
  • thickness: Float
  • # Openings that exist on this edge.
  • openings: [Opening]
  • }