GME
13
|
#include <AutoRouterPort.h>
Public Member Functions | |
CAutoRouterPort () | |
virtual | ~CAutoRouterPort () |
CAutoRouterBox * | GetOwner (void) const |
bool | HasOwner (void) const |
void | SetOwner (CAutoRouterBox *box) |
CRect | GetRect (void) const |
bool | IsRectEmpty (void) const |
CPoint | GetCenter (void) const |
void | SetRect (const CRect &r) |
void | ShiftBy (const CPoint &offset) |
CPoint * | GetSelfPoints (void) const |
long | GetAttributes (void) const |
void | SetAttributes (long attr) |
bool | IsConnectToCenter (void) const |
bool | HasLimitedDirs () const |
void | SetLimitedDirs (bool ltd) |
bool | IsPortAt (const CPoint &point, long nearness) const |
bool | IsPortClip (const CRect &r) const |
bool | IsPortIn (const CRect &r) const |
RoutingDirection | OnWhichEdge (const CPoint &p) const |
bool | CanHaveStartEndPointOn (RoutingDirection dir, bool isStart) const |
bool | CanHaveStartEndPoint (bool isStart) const |
bool | CanHaveStartEndPointHorizontal (bool isHorizontal) const |
RoutingDirection | GetStartEndDirTo (const CPoint &point, bool isStart, RoutingDirection notthis=Dir_None) const |
bool | CanCreateStartEndPointAt (const CPoint &point, bool isStart, long nearness) const |
CPoint | CreateStartEndPointAt (const CPoint &point, bool isStart) const |
CPoint | CreateStartEndPointTo (const CPoint &point, bool isStart) const |
CPoint | CreateStartEndPointOn (RoutingDirection dir) const |
Definition at line 40 of file AutoRouterPort.h.
Definition at line 7 of file AutoRouterPort.cpp.
CAutoRouterPort::~CAutoRouterPort | ( | ) | [virtual] |
Definition at line 15 of file AutoRouterPort.cpp.
bool CAutoRouterPort::CanCreateStartEndPointAt | ( | const CPoint & | point, |
bool | isStart, | ||
long | nearness | ||
) | const |
Definition at line 200 of file AutoRouterPort.cpp.
bool CAutoRouterPort::CanHaveStartEndPoint | ( | bool | isStart | ) | const |
Definition at line 147 of file AutoRouterPort.cpp.
bool CAutoRouterPort::CanHaveStartEndPointHorizontal | ( | bool | isHorizontal | ) | const |
Definition at line 152 of file AutoRouterPort.cpp.
bool CAutoRouterPort::CanHaveStartEndPointOn | ( | RoutingDirection | dir, |
bool | isStart | ||
) | const |
Definition at line 136 of file AutoRouterPort.cpp.
CPoint CAutoRouterPort::CreateStartEndPointAt | ( | const CPoint & | point, |
bool | isStart | ||
) | const |
Definition at line 205 of file AutoRouterPort.cpp.
CPoint CAutoRouterPort::CreateStartEndPointOn | ( | RoutingDirection | dir | ) | const |
Definition at line 271 of file AutoRouterPort.cpp.
CPoint CAutoRouterPort::CreateStartEndPointTo | ( | const CPoint & | point, |
bool | isStart | ||
) | const |
Definition at line 291 of file AutoRouterPort.cpp.
long CAutoRouterPort::GetAttributes | ( | void | ) | const |
Definition at line 91 of file AutoRouterPort.cpp.
CPoint CAutoRouterPort::GetCenter | ( | void | ) | const |
Definition at line 64 of file AutoRouterPort.cpp.
CAutoRouterBox * CAutoRouterPort::GetOwner | ( | void | ) | const |
Definition at line 39 of file AutoRouterPort.cpp.
CRect CAutoRouterPort::GetRect | ( | void | ) | const |
Definition at line 54 of file AutoRouterPort.cpp.
CPoint * CAutoRouterPort::GetSelfPoints | ( | void | ) | const |
Definition at line 86 of file AutoRouterPort.cpp.
RoutingDirection CAutoRouterPort::GetStartEndDirTo | ( | const CPoint & | point, |
bool | isStart, | ||
RoutingDirection | notthis = Dir_None |
||
) | const |
Definition at line 157 of file AutoRouterPort.cpp.
bool CAutoRouterPort::HasLimitedDirs | ( | void | ) | const |
Definition at line 106 of file AutoRouterPort.cpp.
bool CAutoRouterPort::HasOwner | ( | void | ) | const |
Definition at line 44 of file AutoRouterPort.cpp.
bool CAutoRouterPort::IsConnectToCenter | ( | void | ) | const |
Definition at line 101 of file AutoRouterPort.cpp.
bool CAutoRouterPort::IsPortAt | ( | const CPoint & | point, |
long | nearness | ||
) | const |
Definition at line 116 of file AutoRouterPort.cpp.
bool CAutoRouterPort::IsPortClip | ( | const CRect & | r | ) | const |
Definition at line 121 of file AutoRouterPort.cpp.
bool CAutoRouterPort::IsPortIn | ( | const CRect & | r | ) | const |
Definition at line 126 of file AutoRouterPort.cpp.
bool CAutoRouterPort::IsRectEmpty | ( | void | ) | const |
Definition at line 59 of file AutoRouterPort.cpp.
RoutingDirection CAutoRouterPort::OnWhichEdge | ( | const CPoint & | p | ) | const |
Definition at line 131 of file AutoRouterPort.cpp.
void CAutoRouterPort::SetAttributes | ( | long | attr | ) |
Definition at line 96 of file AutoRouterPort.cpp.
void CAutoRouterPort::SetLimitedDirs | ( | bool | ltd | ) |
Definition at line 111 of file AutoRouterPort.cpp.
void CAutoRouterPort::SetOwner | ( | CAutoRouterBox * | box | ) |
Definition at line 49 of file AutoRouterPort.cpp.
void CAutoRouterPort::SetRect | ( | const CRect & | r | ) |
Definition at line 69 of file AutoRouterPort.cpp.
void CAutoRouterPort::ShiftBy | ( | const CPoint & | offset | ) |
Definition at line 77 of file AutoRouterPort.cpp.