wxArt2D
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
a2dSingleRoute Class Reference

Public Member Functions

 a2dSingleRoute (double offset, double smax)
 
void ComputeCon (a2dPin *outPad, a2dPin *inPad)
 
void ComputeConToWireVertex (a2dPin *outPad, double xw, double yw, double angle)
 

Public Attributes

double m_offset
 first & last segment min size
 
double m_smax
 object min half size
 
double m_p [8][2]
 
int m_pnr
 

Protected Member Functions

void Connect (double xo, double yo, int diro, double xi, double yi, int diri)
 
void Correct (double x, double y, double w, double h)
 
void Transform (int mode, int dout, double xout, double yout, double x, double y, double *tx, double *ty)
 
void Shape3P (double xi, double yi)
 
void Shape4PD (double xi, double yi)
 
void Shape4PU (double xi, double yi)
 
void Shape5PB (double xi, double yi, int sign)
 
void Shape5PT (double xi, double yi, int sign)
 
void Shape6P (double xi, double yi, int sign)
 
int Overcross (double x, double y, double w, double h, double x1, double y1, double x2, double y2)
 
void Optimize ()
 

Detailed Description

Definition at line 395 of file wire.h.

Member Function Documentation

void a2dSingleRoute::ComputeCon ( a2dPin outPad,
a2dPin inPad 
)

Computes & corrects the connection path from an object Out pad to an object In pad.

Entry: outPad - the Out pad to be connected inPad - the In pad to be connected Exit: nump - the number of connection points pts - the connection point list

Definition at line 1602 of file wire.cpp.

void a2dSingleRoute::ComputeConToWireVertex ( a2dPin outPad,
double  xw,
double  yw,
double  angle 
)

Computes & corrects the connection path from an object Out pad to a vertex at a certain angle

Entry: outPad - the Out pad to be connected xw - x vertex to route to yw - y vertex to route to angle - angle of arrivel

Exit: nump - the number of connection points pts - the connection point list

Definition at line 1681 of file wire.cpp.

void a2dSingleRoute::Connect ( double  xo,
double  yo,
int  diro,
double  xi,
double  yi,
int  diri 
)
protected

Computes the connection path from an object Out pad to an object In pad using the orthogonal path algorithm.

Entry: xo - Out pad x coordinate yo - Out pad y coordinate diro - Out pad direction xi - In pad x coordinate yi - In pad y coordinate diri - In pad direction Exit: p - the connection point list Return: the number of connection points

Definition at line 1744 of file wire.cpp.


The documentation for this class was generated from the following files:
a2dSingleRoute Class Reference -- Sun Oct 12 2014 17:04:48 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation