ProfileStripe

Description

Represents stripes found in profile.

Structure fields and default values (if defined) are described below:

struct ProfileStripe
{
	Real		Point1;
	Real		Point2;
	float		Width;
	Real		Magnitude;
	Polarity	Polarity;

	explicit ProfileStripe
	(
		Polarity Polarity_ = Any 
	) :
		 Polarity(Polarity_) 
	{}

	Real Point1() const			{ return Point1;	};
	Real Point2() const			{ return Point2;	};
	float Width() const			{ return Width;		};
	Real Magnitude() const		{ return Magnitude;	};
	Polarity Polarity() const	{ return Polarity;	};

	bool operator == ( const avl::ProfileStripe& rhs ) const
	{
		return Point1 == rhs.Point1 && 
			Point2 == rhs.Point2 && 
			Width == rhs.Width && 
			Magnitude == rhs.Magnitude && 
			Polarity == rhs.Polarity;
	}

	bool operator != ( const avl::ProfileStripe& rhs ) const
	{
		return !(operator==(rhs));
	}

};