C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::DoubleFields Class Reference

Fields class defines four rectangle fields. More...

#include <vsn_fields.h>

Public Member Functions

 DoubleFields ()
 Object constructor with fields being 0.
 
 DoubleFields (double left, double top, double right, double bottom)
 Object constructor with all four fields defined(left, top, right and bottom).
 
 DoubleFields (const Fields &fields)
 Copy constructor.
 
DoubleFieldsoperator+= (const DoubleFields &fields)
 Adds the value to the fields of the object from the specified object and returns reference to it.
 
DoubleFieldsoperator-= (const DoubleFields &fields)
 Subtracts the value from the fields of the object and returns reference to it.
 
DoubleFieldsoperator+= (double addend)
 Adds the specified value to each field of the object and returns reference to it.
 
DoubleFieldsoperator-= (double subtrahend)
 Subtracts the specified value from each field of the object and returns reference to it.
 
DoubleFieldsoperator*= (double factor)
 Multiplies the value of each object field by a factor and returns reference to it.
 
DoubleFieldsoperator/= (double divisor)
 Divides the value of each object field by a divider and returns reference to it.
 
Fields ToFields () const
 Converts the object to integer object and returns a new object.
 

Detailed Description

Fields class defines four rectangle fields.

Fields defines a set of four fields - left, top, right and bottom - that describe size of each rectangle border. IsNull() function returns True only if a value of each rectangle field is 0.


The documentation for this class was generated from the following file: