FeatureDefinition

class caris.FeatureDefinition

The feature definition.

code

str – The unique code of the feature

primitiveTypes

list of PrimitiveType – The feature’s supported types

attributes

AttributeDefinitionDictionary – The definitions of the attributes defined for this Feature

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