![]() |
Project
|
#include <O2FlatCSG.h>
Public Types | |
| enum | Kind : int { kQuadric = 0 , kTorus = 1 } |
Public Attributes | |
| int | kind = kQuadric |
| double | sign = 1. |
| double | c [11] = {} |
One signed implicit halfspace, the region sign * f(x) <= 0: kQuadric stores x^T A x + 2 b^T x + c as (a00, a01, a02, a11, a12, a22, b0, b1, b2, c); kTorus stores (px, py, pz, dx, dy, dz, R, r) in the first eight.
Definition at line 28 of file O2FlatCSG.h.
| Enumerator | |
|---|---|
| kQuadric | |
| kTorus | |
Definition at line 29 of file O2FlatCSG.h.
| double o2::cad::FlatCSGHalfspace::c[11] = {} |
Definition at line 33 of file O2FlatCSG.h.
Definition at line 31 of file O2FlatCSG.h.
| double o2::cad::FlatCSGHalfspace::sign = 1. |
Definition at line 32 of file O2FlatCSG.h.