upxo.geoEntities.edge2d module

2D (and 3D) edge geometric entity classes for UPXO.

Usage

from upxo.geoEntities.edge2d import edge2d from upxo.geoEntities.edge2d import edge2d_lean_highest from upxo.geoEntities.edge2d import edge2d_from_point2d

Classes

edge2d

Core 2D edge entity with full geometric and comparison operations.

edge2d_lean_highest

Lean-mode 2D edge with reduced memory footprint.

edge2d_from_point2d

2D edge constructed from Point2d endpoint objects.

edge3d

3D edge entity (stub; development in progress).

Dependencies

numpy, matplotlib, math, copy, upxo._sup.dataTypeHandlers, upxo.geoEntities.mulpoint2d, upxo.geoEntities.point2d

Notes

This is a UPXO core module. The edge2d class uses secondary class-level epsilon constants derived from dataTypeHandlers.constants; primary global values must be changed through that module, not through instance attributes.

Limitations

  • edge3d is not yet implemented.

  • Shapely, VTK, PyVista, and SciPy construction branches are stubs.