/*
 * zGo2PartPlaneYAngle.h
 * 
 * Gocator system communication library
 * Copyright (C) 2013 by LMI Technologies Inc.
 * 
 * Licensed under The MIT License.
 * Redistributions of files must retain the above copyright notice.
 */

#ifndef LMITECH_GO2PARTPLANEYANGLE_H_INCLUDED
#define LMITECH_GO2PARTPLANEYANGLE_H_INCLUDED

#include <Go2Measurements/Go2PartPlaneYAngle.h>
#include <z/zGo2Measurement.h>
#include <z/zGo2Api.h>
#include <Go2ApiBegin.h>

/*
 * Go2PartPlaneYAngle Class 
 */

typedef struct Go2PartPlaneYAngleClass
{   
    GO2_PART_MEASUREMENT_FIELDS(); 

    Go2Bool regionsEnabled;
    Go2PartRegion3d regions[GO2_MAX_PLANE_REGIONS];
    Go2UInt32 regionCount;
} Go2PartPlaneYAngleClass; 

GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_Construct(Go2PartPlaneYAngle* measurement, Go2UInt32 id, Go2System system); 
GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_Init(Go2PartPlaneYAngle measurement, Go2UInt32 id, Go2System system);
GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_VRelease(Go2PartPlaneYAngle measurement);
GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_VRead(Go2PartPlaneYAngle measurement, zXml xml, zXmlItem item); 
GO2_EXPORT(Go2Status) Go2PartPlaneYAngle_VWrite(Go2PartPlaneYAngle measurement, zXml xml, zXmlItem item); 

#include <Go2ApiEnd.h>
#endif
