Horizon
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PNS::CORNER_COUNT_LIMIT_CONSTRAINT Class Reference
Inheritance diagram for PNS::CORNER_COUNT_LIMIT_CONSTRAINT:
PNS::OPT_CONSTRAINT

Public Member Functions

 CORNER_COUNT_LIMIT_CONSTRAINT (NODE *aWorld, int aMinCorners, int aMaxCorners, int aAngleMask)
 
virtual bool Check (int aVertex1, int aVertex2, const LINE *aOriginLine, const SHAPE_LINE_CHAIN &aCurrentPath, const SHAPE_LINE_CHAIN &aReplacement) override
 
- Public Member Functions inherited from PNS::OPT_CONSTRAINT
 OPT_CONSTRAINT (NODE *aWorld)
 
int GetPriority () const
 
void SetPriority (int aPriority)
 

Additional Inherited Members

- Protected Attributes inherited from PNS::OPT_CONSTRAINT
NODEm_world
 
int m_priority
 

Member Function Documentation

◆ Check()

bool PNS::CORNER_COUNT_LIMIT_CONSTRAINT::Check ( int  aVertex1,
int  aVertex2,
const LINE aOriginLine,
const SHAPE_LINE_CHAIN aCurrentPath,
const SHAPE_LINE_CHAIN aReplacement 
)
overridevirtual

Implements PNS::OPT_CONSTRAINT.


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