For DOS Protected Mode version of sensor core software
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
948 B

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 05/04/2003
// PROJECT:
// SUBSYSTEM:
// FILE: LgDPolyPolygon.cpp
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Source file of LgDPolyPolygon.cpp
//----------------------------------------------------------------------------
#include "stdafx.h"
#include "LgLogger.h"
#include "LgDPolyPolygon.h"
CLgDPolyPolygon::CLgDPolyPolygon()
{
}
CLgDPolyPolygon::~CLgDPolyPolygon()
{
}
BOOL CLgDPolyPolygon::CrossProduct( CLgDLineSegment line, CLgDLineSegmentArray &array )
{
for( INT i = 0; i < GetCount(); i++ )
GetAt(i).CrossProduct( line, array );
return TRUE;
}
INT CLgDPolyPolygon::Minimize()
{
INT nCount = 0;
for( INT i = 0; i < GetCount(); i++ )
nCount += GetAt(i).Minimize();
return nCount;
}