|
Rhino C++ API
8.24
|
#include <opennurbs_plus.h>
Public Types | |
| enum | TYPE { no_cmx_event = 0, cmx_point = 1, cmx_overlap = 2 } |
| C++ default destructor, copy constructor, and operator= work fine. More... | |
Public Member Functions | |
| ON_CMX_EVENT () | |
Public Attributes | |
| ON_CURVE_POINT | m_C [2] |
| intersection points on curve More... | |
| ON_MESH_POINT | m_M [2] |
| corresponding intersection points on mesh More... | |
| unsigned int | m_sn |
| Each intersection event is assigned a runtime serial number. More... | |
| TYPE | m_type |
TODO Maybe we need an ON_MMX_EVENT that has a intersection type associated with it. ON_MMX_POINT m_M[2] where m_M[0] = m_M[1] if it is a transverse intersection and m_M[0] != m_M[1] if it is an overlap intersection.
| enum ON_CMX_EVENT::TYPE |
| ON_CMX_EVENT::ON_CMX_EVENT | ( | ) |
| ON_CURVE_POINT ON_CMX_EVENT::m_C[2] |
intersection points on curve
| ON_MESH_POINT ON_CMX_EVENT::m_M[2] |
corresponding intersection points on mesh
| unsigned int ON_CMX_EVENT::m_sn |
Each intersection event is assigned a runtime serial number.
| TYPE ON_CMX_EVENT::m_type |
The m_type field determines how the values in the other fields are interpreted.
cmx_point events: C[0] = C[1] intersection point on curve M[0] = M[1] = intersection point on mesh
cmx_overlap events: C[0],C[1] = overlap end points on curve, C[0].m_t < C[1].m_t M[0],M[1] = overlap endpoints on mesh
1.8.17