KiCad PCB EDA Suite
Loading...
Searching...
No Matches
UTILS_BOX3D Class Reference

#include <pcbnew_utils_3d.h>

Public Member Functions

VECTOR3DMin ()
 
VECTOR3DMax ()
 
VECTOR3D GetCenter ()
 
VECTOR3D GetSize ()
 

Private Attributes

VECTOR3D m_min
 
VECTOR3D m_max
 

Detailed Description

Definition at line 31 of file pcbnew_utils_3d.h.

Member Function Documentation

◆ GetCenter()

VECTOR3D UTILS_BOX3D::GetCenter ( )

Definition at line 176 of file pcbnew_utils_3d.cpp.

References m_max, m_min, VECTOR3< T >::x, VECTOR3< T >::y, and VECTOR3< T >::z.

◆ GetSize()

VECTOR3D UTILS_BOX3D::GetSize ( )

Definition at line 183 of file pcbnew_utils_3d.cpp.

References m_max, m_min, VECTOR3< T >::x, VECTOR3< T >::y, and VECTOR3< T >::z.

◆ Max()

VECTOR3D & UTILS_BOX3D::Max ( )

Definition at line 195 of file pcbnew_utils_3d.cpp.

References m_max.

Referenced by UTILS_STEP_MODEL::GetBoundingBox().

◆ Min()

VECTOR3D & UTILS_BOX3D::Min ( )

Definition at line 189 of file pcbnew_utils_3d.cpp.

References m_min.

Referenced by UTILS_STEP_MODEL::GetBoundingBox().

Member Data Documentation

◆ m_max

VECTOR3D UTILS_BOX3D::m_max
private

Definition at line 34 of file pcbnew_utils_3d.h.

Referenced by GetCenter(), GetSize(), and Max().

◆ m_min

VECTOR3D UTILS_BOX3D::m_min
private

Definition at line 33 of file pcbnew_utils_3d.h.

Referenced by GetCenter(), GetSize(), and Min().


The documentation for this class was generated from the following files: