Blender V5.3
blender::ed::greasepencil::segment::IntersectionPoint Struct Reference

#include <grease_pencil_segments_intern.hh>

Public Member Functions

constexpr IntersectionPoint ()=default
float point_for_curve (const int curve) const
float factor_for_curve (const int curve) const
float parameter_for_curve (const int curve) const
int other_curve (const int curve) const

Public Attributes

int point_i = -1
int point_j = -1
float factor_i = -1.0f
float factor_j = -1.0f
int curve_i = -1
int curve_j = -1
int segment_index_i [2] = {-1, -1}
int segment_index_j [2] = {-1, -1}

Detailed Description

Definition at line 92 of file grease_pencil_segments_intern.hh.

Constructor & Destructor Documentation

◆ IntersectionPoint()

blender::ed::greasepencil::segment::IntersectionPoint::IntersectionPoint ( )
constexprdefault

Member Function Documentation

◆ factor_for_curve()

float blender::ed::greasepencil::segment::IntersectionPoint::factor_for_curve ( const int curve) const
inline

◆ other_curve()

int blender::ed::greasepencil::segment::IntersectionPoint::other_curve ( const int curve) const
inline

Definition at line 122 of file grease_pencil_segments_intern.hh.

References blender::BLI_assert(), curve_i, and curve_j.

◆ parameter_for_curve()

float blender::ed::greasepencil::segment::IntersectionPoint::parameter_for_curve ( const int curve) const
inline

◆ point_for_curve()

float blender::ed::greasepencil::segment::IntersectionPoint::point_for_curve ( const int curve) const
inline

Member Data Documentation

◆ curve_i

◆ curve_j

int blender::ed::greasepencil::segment::IntersectionPoint::curve_j = -1

◆ factor_i

float blender::ed::greasepencil::segment::IntersectionPoint::factor_i = -1.0f

◆ factor_j

float blender::ed::greasepencil::segment::IntersectionPoint::factor_j = -1.0f

◆ point_i

int blender::ed::greasepencil::segment::IntersectionPoint::point_i = -1

◆ point_j

int blender::ed::greasepencil::segment::IntersectionPoint::point_j = -1

◆ segment_index_i

int blender::ed::greasepencil::segment::IntersectionPoint::segment_index_i[2] = {-1, -1}

◆ segment_index_j

int blender::ed::greasepencil::segment::IntersectionPoint::segment_index_j[2] = {-1, -1}

The documentation for this struct was generated from the following file: