# sec_interp.core.types module

Common type aliases for SecInterp plugin.

This module defines type aliases used throughout the codebase to improve type hint readability and maintainability.

sec_interp.core.types.ProfileData

  List of (distance, elevation) tuples representing a topographic profile.

  alias of `list`[`tuple`[`float`, `float`]]

sec_interp.core.types.LayerDict

  Dictionary mapping layer names to QgsVectorLayer objects.

  alias of `dict`[`str`, `QgsVectorLayer`]

sec_interp.core.types.SettingsDict

  Dictionary of plugin settings and configuration values.

  alias of `dict`[`str`, `Any`]

sec_interp.core.types.ExportSettings

  Dictionary of export configuration parameters.

  alias of `dict`[`str`, `Any`]

sec_interp.core.types.ValidationResult

  Tuple of (is_valid, error_message) from validation functions.

  alias of `tuple`[`bool`, `str`]

sec_interp.core.types.PointList

  List of QgsPointXY objects.

  alias of `list`[`QgsPointXY`]

class sec_interp.core.types.StructureMeasurement(distance: float, elevation: float, apparent_dip: float, original_dip: float, original_strike: float, attributes: dict[str, Any])

  Bases: `object`

  Represents a projected structural measurement.

  distance: float
  elevation: float
  apparent_dip: float
  original_dip: float
  original_strike: float
  attributes: dict[str, Any]

class sec_interp.core.types.GeologySegment(unit_name: str, geometry: QgsGeometry, attributes: dict[str, Any], points: list[tuple[float, float]])

  Bases: `object`

  Represents a geological unit segment along the profile.

  unit_name: str
  geometry: QgsGeometry
  attributes: dict[str, Any]
  points: list[tuple[float, float]]

sec_interp.core.types.StructureData

  List of (distance, apparent_dip) tuples representing projected structural measurements.

  alias of `list`[`StructureMeasurement`]

sec_interp.core.types.GeologyData

  List of (distance, elevation, unit_name) tuples representing geological intersections.

  alias of `list`[`GeologySegment`]