31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ool S.in simplex(const d3 rat point& p)<br />

bool S.insphere(const d3 rat point& p)<br />

returns true, if p is contained in the simplex.<br />

returns true, if p lies in the interior of the sphere<br />

through p1 , p2 , p3 , p4 .<br />

rational S.vol( ) returns the signed volume of the simplex.<br />

d3 rat simplex S.reflect(const d3 rat point& p, const d3 rat point& q,<br />

const d3 rat point& v)<br />

returns S reflected across the plane through (p, q, v).<br />

d3 rat simplex S.reflect(const d3 rat point& p)<br />

d3 rat simplex S.translate(const rat vector& v)<br />

returns S reflected across point p.<br />

returns S translated by vector v.<br />

Precond. : v.dim( ) = 3.<br />

d3 rat simplex S.translate(rational dx, rational dy, rational dz)<br />

returns S translated by vector (dx, dy, dz).<br />

d3 rat simplex S.translate(integer dx, integer dy, integer dz, integer dw)<br />

d3 rat simplex S + const rat vector& v<br />

d3 rat simplex S − const rat vector& v<br />

returns S translated by vector (dx/dw, dy/dw, dz/w).<br />

returns S translated by vector v.<br />

returns S translated by vector −v.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!