Struct Mesh2DGrid::xIntersectionDescriptor

Nested Relationships

This struct is a nested type of Class Mesh2DGrid.

Struct Documentation

struct xIntersectionDescriptor

A struct to hold an intersection point.

This struct describes the results of traversing the mesh at constant x, which are distinct from the information needed to describe a traversal at constant y.

Public Members

double y

y coordinate of intersection

double xs

x or s coordinate of intersection, depending on type

IntersectionType t

Type of intersection – spine or rib

size_t idx

Index of spine or rib at intersection point

bool meshExit

True if the line exits the mesh at this intersection point