Open Search
    SegmentSphereIntersectionData Struct Reference

    #include <c4d_tools.h>

    Detailed Description

    Structure for passing SegmentSphereIntersection and SegmentCircleIntersection intersection hits from the aforementioned functions. since R16

    Public Member Functions

     SegmentSphereIntersectionData ()
     
     SegmentSphereIntersectionData (Float o, Vector h)
     

    Public Attributes

    Float offset
     
    Vector hitPoint
     

    Constructor & Destructor Documentation

    ◆ SegmentSphereIntersectionData() [1/2]

    ◆ SegmentSphereIntersectionData() [2/2]

    Member Data Documentation

    ◆ offset

    Float offset

    The offset along the segment that the hit occurs at.

    ◆ hitPoint

    Vector hitPoint

    The position that the hit occurs at.