Horizon
|
Class MEANDERED_LINE. More...
#include <pns_meander.h>
Class MEANDERED_LINE.
Represents a set of meanders fitted over a single or two lines.
|
inline |
Constructor.
aPlacer | the meander placer instance |
aIsDual | when true, the meanders are generated for two coupled lines |
|
inline |
Constructor.
aPlacer | the meander placer instance |
aIsDual | when true, the meanders are generated for two coupled lines |
Function AddCorner()
Creates a dummy meander shape representing a line corner. Used to define the starts/ends of meandered segments.
aA | corner point of the 1st line |
aB | corner point of the 2nd line (if m_dual == true) |
Function AddCorner()
Creates a dummy meander shape representing a line corner. Used to define the starts/ends of meandered segments.
aA | corner point of the 1st line |
aB | corner point of the 2nd line (if m_dual == true) |
void PNS::MEANDERED_LINE::AddMeander | ( | MEANDER_SHAPE * | aShape | ) |
Function AddMeander()
Adds a new meander shape the the meandered line.
aShape | the meander shape to add |
void PNS::MEANDERED_LINE::AddMeander | ( | MEANDER_SHAPE * | aShape | ) |
Function AddMeander()
Adds a new meander shape the the meandered line.
aShape | the meander shape to add |
bool PNS::MEANDERED_LINE::CheckSelfIntersections | ( | MEANDER_SHAPE * | aShape, |
int | aClearance | ||
) |
Function CheckSelfIntersections()
Checks if the given shape is intersecting with any other meander in the current line.
aShape | the shape to check |
aClearance | clearance value |
bool PNS::MEANDERED_LINE::CheckSelfIntersections | ( | MEANDER_SHAPE * | aShape, |
int | aClearance | ||
) |
Function CheckSelfIntersections()
Checks if the given shape is intersecting with any other meander in the current line.
aShape | the shape to check |
aClearance | clearance value |
void PNS::MEANDERED_LINE::Clear | ( | ) |
Function Clear()
Clears the line geometry, removing all corners and meanders.
void PNS::MEANDERED_LINE::Clear | ( | ) |
Function Clear()
Clears the line geometry, removing all corners and meanders.
|
inline |
Function Meanders()
|
inline |
Function Meanders()
void PNS::MEANDERED_LINE::MeanderSegment | ( | const SEG & | aSeg, |
int | aBaseIndex = 0 |
||
) |
Function MeanderSegment()
Fits maximum amplitude meanders on a given segment and adds to the current line.
aSeg | the base segment to meander |
aBaseIndex | index of the base segment in the original line |
void PNS::MEANDERED_LINE::MeanderSegment | ( | const SEG & | aSeg, |
int | aBaseIndex = 0 |
||
) |
Function MeanderSegment()
Fits maximum amplitude meanders on a given segment and adds to the current line.
aSeg | the base segment to meander |
aBaseIndex | index of the base segment in the original line |
|
inline |
Function SetBaselineOffset()
Sets the parallel offset between the base segment and the meandered line. Used for dual menaders (diff pair) only.
aOffset | the offset |
|
inline |
Function SetBaselineOffset()
Sets the parallel offset between the base segment and the meandered line. Used for dual menaders (diff pair) only.
aOffset | the offset |
const MEANDER_SETTINGS & PNS::MEANDERED_LINE::Settings | ( | ) | const |
Function Settings()
const MEANDER_SETTINGS& PNS::MEANDERED_LINE::Settings | ( | ) | const |
Function Settings()
|
inline |
Function SetWidth()
Sets the line width.
|
inline |
Function SetWidth()
Sets the line width.