コード例 #1
0
 def to_segment_distance(tree_segment: Segment) -> Scalar:
     return to_segments_distance(tree_segment, segment)
コード例 #2
0
 def to_segment_distance(index: int) -> Scalar:
     return to_segments_distance(tree.segments[index], segment)
コード例 #3
0
 def to_segment_distance(item: Item) -> Scalar:
     return to_segments_distance(item[1], segment)