Skip to content

Class: Polygon

A polygon as defined by a series of vertexes and a boolean to indicate if closed or not

URI: microscopemetrics_schema:Polygon

classDiagram class Polygon click Polygon href "../Polygon" Shape <|-- Polygon click Shape href "../Shape" Polygon : c Polygon : description Polygon : fill_color Polygon --> "0..1" Color : fill_color click Color href "../Color" Polygon : is_open Polygon : name Polygon : stroke_color Polygon --> "0..1" Color : stroke_color click Color href "../Color" Polygon : stroke_width Polygon : t Polygon : vertexes Polygon --> "1..*" Vertex : vertexes click Vertex href "../Vertex" Polygon : z

Inheritance

Slots

Name Cardinality and Range Description Inheritance
vertexes 1..*
Vertex
A list of vertexes defining the polygon direct
is_open 1
Boolean
Is the polygon open direct
z 0..1
Float
The z coordinate Shape
c 0..1
Integer
The c coordinate Shape
t 0..1
Integer
The t coordinate Shape
fill_color 0..1
Color
The fill color of the shape Shape
stroke_color 0..1
Color
The stroke color of the shape Shape
stroke_width 0..1
Integer
The stroke width of the shape Shape
name 0..1
String
The human readable name of an entity NamedObject
description 0..1
String
A human readable description of an entity NamedObject

Usages

used by used in type used
Roi polygons range Polygon

Identifier and Mapping Information

Schema Source

  • from schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema

Mappings

Mapping Type Mapped Value
self microscopemetrics_schema:Polygon
native microscopemetrics_schema:Polygon

LinkML Source

Direct

name: Polygon
description: A polygon as defined by a series of vertexes and a boolean to indicate
  if closed or not
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
is_a: Shape
attributes:
  vertexes:
    name: vertexes
    description: A list of vertexes defining the polygon
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    domain_of:
    - Polygon
    range: Vertex
    required: true
    multivalued: true
  is_open:
    name: is_open
    description: Is the polygon open. By default, it is closed (false)
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    ifabsent: 'False'
    domain_of:
    - Polygon
    range: boolean
    required: true
    multivalued: false

Induced

name: Polygon
description: A polygon as defined by a series of vertexes and a boolean to indicate
  if closed or not
from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
is_a: Shape
attributes:
  vertexes:
    name: vertexes
    description: A list of vertexes defining the polygon
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: vertexes
    owner: Polygon
    domain_of:
    - Polygon
    range: Vertex
    required: true
    multivalued: true
  is_open:
    name: is_open
    description: Is the polygon open. By default, it is closed (false)
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    ifabsent: 'False'
    alias: is_open
    owner: Polygon
    domain_of:
    - Polygon
    range: boolean
    required: true
    multivalued: false
  z:
    name: z
    description: The z coordinate
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
    rank: 1000
    alias: z
    owner: Polygon
    domain_of:
    - Shape
    range: float
    required: false
  c:
    name: c
    description: The c coordinate
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
    rank: 1000
    alias: c
    owner: Polygon
    domain_of:
    - Shape
    range: integer
    required: false
  t:
    name: t
    description: The t coordinate
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema
    rank: 1000
    alias: t
    owner: Polygon
    domain_of:
    - Shape
    range: integer
    required: false
  fill_color:
    name: fill_color
    description: The fill color of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: fill_color
    owner: Polygon
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_color:
    name: stroke_color
    description: The stroke color of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: stroke_color
    owner: Polygon
    domain_of:
    - Shape
    range: Color
    required: false
  stroke_width:
    name: stroke_width
    description: The stroke width of the shape
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    ifabsent: int(1)
    alias: stroke_width
    owner: Polygon
    domain_of:
    - Shape
    range: integer
    required: false
  name:
    name: name
    description: The human readable name of an entity
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: name
    owner: Polygon
    domain_of:
    - NamedObject
    range: string
    required: false
    multivalued: false
  description:
    name: description
    description: A human readable description of an entity
    from_schema: https://MontpellierRessourcesImagerie.github.io/microscopemetrics-schema/core
    rank: 1000
    alias: description
    owner: Polygon
    domain_of:
    - NamedObject
    range: string
    required: false
    multivalued: false