Euphoria
eu::Plane Struct Reference

#include <plane.h>

Public Member Functions

 Plane (const unit3f &n, float d)
 

Static Public Member Functions

static Plane from_normal_and_point (const unit3f &normal, const vec3f &point)
 
static Plane from_points (const vec3f &p0, const vec3f &p1, const vec3f &p2)
 

Public Attributes

unit3f normal
 
float distance
 

Detailed Description

Definition at line 7 of file plane.h.

Constructor & Destructor Documentation

◆ Plane()

eu::Plane::Plane ( const unit3f n,
float  d 
)

Definition at line 5 of file plane.cc.

Member Function Documentation

◆ from_normal_and_point()

Plane eu::Plane::from_normal_and_point ( const unit3f normal,
const vec3f point 
)
static

Definition at line 12 of file plane.cc.

◆ from_points()

Plane eu::Plane::from_points ( const vec3f p0,
const vec3f p1,
const vec3f p2 
)
static

Definition at line 19 of file plane.cc.

Member Data Documentation

◆ distance

float eu::Plane::distance

Definition at line 10 of file plane.h.

◆ normal

unit3f eu::Plane::normal

Definition at line 9 of file plane.h.


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