FeatureDefinition

class caris.FeatureDefinition

The feature definition.

code

The unique code of the feature

Type

str

primitiveTypes

The feature’s supported types

Type

list of PrimitiveType

attributes

The definitions of the attributes defined for this Feature

Type

AttributeDefinitionDictionary

get_relation_definition((FeatureDefinition)self, (str)code) → RelationDefinition :

Get the RelationDefinition this feature has with another feature.

Parameters

code (str) – The feature code of the other related feature

Returns

The definition of the relation if there is one, None if there isn’t.

Return type

RelationDefinition

property relation_definitions

Get the relationships this feature has with other features.

Returns

The list of relationship definitions of the feature has.

Return type

list(caris.RelationDefinition)

class caris.PrimitiveType

The type of primitive.

  • NONE

  • AREA_2D

  • LINE_2D

  • POINT_2D

  • AREA_3D

  • LINE_3D

  • POINT_3D

  • IMAGE

  • TEXT

  • COVERAGE

  • UNKNOWN_2D

  • UNKNOWN_3D