SegmentFittingField
Description
The structure defines a rectangular field in which a segment will be fitted.Structure fields and default values (if defined) are described below:
- Segment2D Axis
- float Width = 20.0f
struct SegmentFittingField
{
Segment2D Axis;
float Width;
explicit SegmentFittingField
(
float Width_ = 20.0f
) :
Width(Width_)
{}
Segment2D Axis() const { return Axis; };
float Width() const { return Width; };
bool operator == ( const avl::SegmentFittingField& rhs ) const
{
return Axis == rhs.Axis &&
Width == rhs.Width;
}
bool operator != ( const avl::SegmentFittingField& rhs ) const
{
return !(operator==(rhs));
}
};
