KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RAY2D Struct Reference

#include <ray.h>

Public Member Functions

 RAY2D (const SFVEC2F &o, const SFVEC2F &d)
 
SFVEC2F at (float t) const
 

Public Attributes

SFVEC2F m_Origin
 
SFVEC2F m_Dir
 
SFVEC2F m_InvDir
 

Detailed Description

Definition at line 93 of file ray.h.

Constructor & Destructor Documentation

◆ RAY2D()

RAY2D::RAY2D ( const SFVEC2F o,
const SFVEC2F d 
)
inline

Definition at line 99 of file ray.h.

References m_Dir, m_InvDir, and m_Origin.

Member Function Documentation

◆ at()

SFVEC2F RAY2D::at ( float  t) const
inline

Definition at line 101 of file ray.h.

References m_Dir, and m_Origin.

Member Data Documentation

◆ m_Dir

SFVEC2F RAY2D::m_Dir

Definition at line 96 of file ray.h.

Referenced by at(), and RAY2D().

◆ m_InvDir

SFVEC2F RAY2D::m_InvDir

Definition at line 97 of file ray.h.

Referenced by BBOX_2D::Intersect(), and RAY2D().

◆ m_Origin

SFVEC2F RAY2D::m_Origin

Definition at line 95 of file ray.h.

Referenced by at(), BBOX_2D::Intersect(), and RAY2D().


The documentation for this struct was generated from the following file: