/*
 * zGo2PartPlaneXAngle.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_GO2PARTPLANEXANGLE_H_INCLUDED
#define LMITECH_GO2PARTPLANEXANGLE_H_INCLUDED

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

/*
 * Go2PartPlaneXAngle Class 
 */

typedef struct Go2PartPlaneXAngleClass
{   
    GO2_PART_MEASUREMENT_FIELDS(); 

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

GO2_EXPORT(Go2Status) Go2PartPlaneXAngle_Construct(Go2PartPlaneXAngle* measurement, Go2UInt32 id, Go2System system); 
GO2_EXPORT(Go2Status) Go2PartPlaneXAngle_Init(Go2PartPlaneXAngle measurement, Go2UInt32 id, Go2System system);
GO2_EXPORT(Go2Status) Go2PartPlaneXAngle_VRelease(Go2PartPlaneXAngle measurement);
GO2_EXPORT(Go2Status) Go2PartPlaneXAngle_VRead(Go2PartPlaneXAngle measurement, zXml xml, zXmlItem item); 
GO2_EXPORT(Go2Status) Go2PartPlaneXAngle_VWrite(Go2PartPlaneXAngle measurement, zXml xml, zXmlItem item); 



#include <Go2ApiEnd.h>
#endif
