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:

struct SegmentFittingField
{
	Segment2D	Axis;
	float		Width;

	explicit SegmentFittingField
	(
		 float Width_ = 20.0f 
	) :
		 Width(Width_) 
	{}

	Segment2D Axis( void ) const	{ return Axis;	};
	float Width( void ) 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));
	}

};