Skip to content

Add Vector2d cross product and DirectedLineSegment vector property

Gavin Whelan requested to merge gavwhela/extensions:add_segment_vector into master

Another simple one, vector cross product (which in 2D is just a scalar Z component), and DirectedLineSegment.vector which is the vector component of a line segment. Refactors a couple of things to use the new property and cross product, as well as adds tests.

Merge request reports