Open Search
    SnapPoint Struct Reference

    #include <c4d_snapdata.h>

    Inheritance diagram for SnapPoint:

    Detailed Description

    Structure for holding and returning information about the result of a snap and the point that has been snapped to.

    Public Member Functions

     SnapPoint ()
     
     ~SnapPoint ()
     

    Public Attributes

    Matrix mat
     
    BaseList2Dtarget
     
    Int32 component
     

    Constructor & Destructor Documentation

    ◆ SnapPoint()

    SnapPoint ( )

    Default constructor.

    ◆ ~SnapPoint()

    ~SnapPoint ( )

    Destructor.

    Member Data Documentation

    ◆ mat

    Matrix mat

    The result position of the snap.

    ◆ target

    BaseList2D* target

    The target object being snapped to.

    ◆ component

    Int32 component

    The component ID being snapped to (e.g. polygon, edge, point, line point).