[GLT Math]

`#include <plane.h>`

Collaboration diagram for Plane:

## Public Methods | |

Plane () | |

Default constructor. | |

Plane (const Vector &pos, const Vector &dir) | |

Constructor. | |

Vector & | direction () |

Plane normal vector. | |

const Vector & | direction () const |

Plane normal vector. | |

double | d () const |

d | |

double & | d () |

d | |

bool | operator== (const Plane &plane) const |

Plane equality operator. | |

void | transform (const Matrix &trans) |

Transform plane by a 4x4 matrix. | |

void | flip () |

Toggle the orienation of the plane. | |

real | dist (const Vector &pos) const |

Evaluate plane equation. | |

bool | inside (const Vector &pos) const |

Evaluate sign of plane equation. | |

real | dist (const BoundingBox &box) const |

Classify axis-aligned box w.r.t plane. | |

real | intersect (const Vector &p0, const Vector &p1) const |

Intersect ray. | |

Vector | intersectPosition (const Vector &p0, const Vector &p1) const |

Intersect ray. | |

## Protected Attributes | |

Vector | _pos |

Point on plane. | |

Vector | _direction |

Direction of plane normal. | |

double | _d |

Plane equation 'd'. |

**Todo:**- Nice illustrations and explanation.

Definition at line 44 of file plane.h.

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

Generated on Tue Nov 5 11:11:49 2002 for GLT by 1.2.18