#include <opennurbs_plane.h>
◆ Default()
void ON_ClippingPlaneInfo::Default |
( |
| ) |
|
◆ Depth()
double ON_ClippingPlaneInfo::Depth |
( |
| ) |
const |
A distance where the clipping plane does not clip geometry. A positive value is equivalent to placing another clipping plane at a distance from this clipping plane along it's normal and then flipping it
The depth must also be enabled to be effective
◆ DepthEnabled()
bool ON_ClippingPlaneInfo::DepthEnabled |
( |
| ) |
const |
◆ Read()
◆ SetDepth()
void ON_ClippingPlaneInfo::SetDepth |
( |
double |
depth | ) |
|
Negative depth values are currently not allowed. If a negative depth value is passed to this function, it will not the the internal depth value
◆ SetDepthEnabled()
void ON_ClippingPlaneInfo::SetDepthEnabled |
( |
bool |
on | ) |
|
◆ Write()
◆ m_bEnabled
bool ON_ClippingPlaneInfo::m_bEnabled = false |
◆ m_plane_equation
C++ defaults for construction, destruction, copy construction and operator= work fine. A point is visible if m_plane_equation.ValueAt(point) <= 0. (This is the opposite convention from what OpenGL uses.)
◆ m_plane_id