tagSEGMENT_POINT_RESULT_D

関数Segment_Point_Analyseの結果を受け取る為の構造体

package nothrow @nogc extern (C++, DxLib)
struct tagSEGMENT_POINT_RESULT_D {}

Members

Variables

Seg_MinDist_Pos
.VECTOR_D Seg_MinDist_Pos;

線分が点に最も接近する線分上の座標

Seg_MinDist_Pos1_Pos2_t
double Seg_MinDist_Pos1_Pos2_t;

線分が点に最も接近する座標の線分のt(0.0~1.0、最近点座標 = ((SegPos2 - SegPos1) * t) + SegPos1)

Seg_Point_MinDist_Square
double Seg_Point_MinDist_Square;

線分と点が最も接近する座標間の距離の二乗

Meta