SnapResult Struct Reference

#include <c4d_snapdata.h>

Inheritance diagram for SnapResult:

Detailed Description

The final result that the user gets when calling SnapCore::Snap or SnapCore::Intersect.

Public Member Functions

 SnapResult ()
 
 ~SnapResult ()
 
- Public Member Functions inherited from SnapPoint
 SnapPoint ()
 
 ~SnapPoint ()
 

Public Attributes

Int32 snapmode
 
Vector initial_snap
 
Vector delta
 
- Public Attributes inherited from SnapPoint
Matrix mat
 
BaseList2Dtarget
 
Int32 component
 

Constructor & Destructor Documentation

◆ SnapResult()

Default constructor.

◆ ~SnapResult()

~SnapResult ( )

Destructor.

Member Data Documentation

◆ snapmode

Int32 snapmode

The snap mode used.

◆ initial_snap

Vector initial_snap

The snap position before 2D processing.

◆ delta

Vector delta

The delta between new and old point positions.