FeatureDefinition¶
-
class
caris.
FeatureDefinition
¶ The feature definition.
-
primitiveTypes
¶ list
ofPrimitiveType
– 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
thisfeature
has with another feature.Parameters: code (str) – The feature code
of the other relatedfeature
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