Elements Relationships

class RelationShipType(*values)

Bases: Enum

Parallel = 'parallel'
Orthogonal = 'orthogonal'
BisectorLine = 'bisector_line'
BisectorPoint = 'bisector_point'
Tangent = 'tangent'
Congruent = 'congruent'
Cyclic = 'cyclic'
Collinear = 'collinear'
class ParaRelationship(**data)

Bases: BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

line: GGBLine
parallel_to: GGBLine
relationship_type: Literal[<RelationShipType.Parallel: 'parallel'>]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class OrthoRelationship(**data)

Bases: BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

line: GGBLine
orthogonal_to: GGBLine
relationship_type: Literal[<RelationShipType.Orthogonal: 'orthogonal'>]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class BisectorLineRelationship(**data)

Bases: BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

line: GGBLine
bisector_1: GGBLine
bisector_2: GGBLine
relationship_type: Literal[<RelationShipType.BisectorLine: 'bisector_line'>]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class BisectorPointRelationship(**data)

Bases: BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

line: GGBLine
angle_a: GGBPoint
angle_vertex: GGBPoint
angle_b: GGBPoint
relationship_type: Literal[<RelationShipType.BisectorPoint: 'bisector_point'>]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class TangentRelationship(**data)

Bases: BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

line: GGBLine
tangent_to: GGBConic
relationship_type: Literal[<RelationShipType.Tangent: 'tangent'>]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].