# Ignition Math

## API Reference

6.10.0
Line2< T > Member List

This is the complete list of members for Line2< T >, including all inherited members.

 Collinear(const math::Vector2< T > &_pt, double _epsilon=1e-6) const Line2< T > inline Collinear(const math::Line2< T > &_line, double _epsilon=1e-6) const Line2< T > inline CrossProduct(const Line2< T > &_line) const Line2< T > inline CrossProduct(const Vector2< T > &_pt) const Line2< T > inline Intersect(const Line2< T > &_line, double _epsilon=1e-6) const Line2< T > inline Intersect(const Line2< T > &_line, math::Vector2< T > &_pt, double _epsilon=1e-6) const Line2< T > inline Length() const Line2< T > inline Line2(const math::Vector2< T > &_ptA, const math::Vector2< T > &_ptB) Line2< T > inline Line2(double _x1, double _y1, double _x2, double _y2) Line2< T > inline OnSegment(const math::Vector2< T > &_pt, double _epsilon=1e-6) const Line2< T > inline operator!=(const Line2< T > &_line) const Line2< T > inline operator<<(std::ostream &_out, const Line2< T > &_line) Line2< T > friend operator==(const Line2< T > &_line) const Line2< T > inline operator[](size_t _index) const Line2< T > inline Parallel(const math::Line2< T > &_line, double _epsilon=1e-6) const Line2< T > inline Set(const math::Vector2< T > &_ptA, const math::Vector2< T > &_ptB) Line2< T > inline Set(double _x1, double _y1, double _x2, double _y2) Line2< T > inline Slope() const Line2< T > inline Within(const math::Vector2< T > &_pt, double _epsilon=1e-6) const Line2< T > inline