colour.algebra.LineSegmentsIntersections_Specification¶
-
class
colour.algebra.
LineSegmentsIntersections_Specification
[source]¶ Defines the specification for intersection of line segments \(l_1\) and \(l_2\) returned by
colour.algebra.intersect_line_segments()
definition.Parameters: - xy (array_like) – Array of \(l_1\) and \(l_2\) line segments intersections coordinates. Non existing segments intersections coordinates are set with np.nan.
- intersect (array_like) – Array of bool indicating if line segments \(l_1\) and \(l_2\) intersect.
- parallel (array_like) – Array of bool indicating if line segments \(l_1\) and \(l_2\) are parallel.
- coincident (array_like) – Array of bool indicating if line segments \(l_1\) and \(l_2\) are coincident.
Create new instance of LineSegmentsIntersections_Specification(xy, intersect, parallel, coincident)
-
__init__
()¶ x.__init__(…) initializes x; see help(type(x)) for signature
Methods
count
(…)index
((value, [start, …)Raises ValueError if the value is not present.