KiCad PCB EDA Suite
Loading...
Searching...
No Matches
half_line.cpp File Reference
#include "geometry/half_line.h"
#include <math/box2.h>
#include <geometry/shape_utils.h>

Go to the source code of this file.

Functions

bool VectorsInSameQuadrant (const VECTOR2I &aA, const VECTOR2I &aB)
 Check if two vectors point into the same quadrant.
 

Function Documentation

◆ VectorsInSameQuadrant()

bool VectorsInSameQuadrant ( const VECTOR2I aA,
const VECTOR2I aB 
)

Check if two vectors point into the same quadrant.

Definition at line 34 of file half_line.cpp.

References VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by HALF_LINE::Contains(), and HALF_LINE::Intersect().