OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PlaneZCalcf Struct Reference

#include <Plane.h>

Public Member Functions

float calculate (float x, float y) const
 
void init (const Planef &plane)
 

Public Attributes

float a = 0
 
float b = 0
 
float c = 0
 

Detailed Description

Helper structure for calculating Z-coordinate of a point on a plane given x and y, basically a storage for coefficients in z = ax + by + c equation.

Member Function Documentation

◆ calculate()

float PlaneZCalcf::calculate ( float  x,
float  y 
) const
inline

◆ init()

void PlaneZCalcf::init ( const Planef plane)
inline

Member Data Documentation

◆ a

float PlaneZCalcf::a = 0

◆ b

float PlaneZCalcf::b = 0

◆ c

float PlaneZCalcf::c = 0

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