harmonic ranges¶
Divine identifies harmonic ranges, which are sets of four collinear points in a specific cross-ratio relationship.
Analysis of harmonic ranges in geometric lines.
This module provides functions to identify and analyze harmonic ranges within lines and segments of the model.
- geometor.divine.golden.ranges.check_range(r: tuple[Point, ...]) Expr
Check if a range of 4 points forms a harmonic range.
- Parameters:
r – A tuple of 4 points.
- Returns:
The cross ratio value (0 if harmonic).
- Return type:
sp.Expr