Vertical description (API) More...
Public Types | |
typedef Segment | Inherit |
Public Types inherited from Hurricane::Segment | |
typedef Component | Inherit |
Public Types inherited from Hurricane::Component | |
typedef Go | Inherit |
Public Member Functions | |
const DbU::Unit & | getDySource () const |
const DbU::Unit & | getDyTarget () const |
void | setX (const DbU::Unit &x) |
void | translate (const DbU::Unit &dx) |
Public Member Functions inherited from Hurricane::Segment | |
Hook * | getSourceHook () |
Hook * | getTargetHook () |
Hook * | getOppositeHook (const Hook *hook) const |
Component * | getSource () const |
Component * | getTarget () const |
Components | getAnchors () const |
Component * | getOppositeAnchor (Component *anchor) const |
const DbU::Unit & | getWidth () const |
DbU::Unit | getHalfWidth () const |
virtual Point | getSourcePosition () const |
virtual Point | getTargetPosition () const |
void | setLayer (const Layer *layer) |
void | setWidth (const DbU::Unit &width) |
void | invert () |
Public Member Functions inherited from Hurricane::Component | |
Net * | getNet () const |
Rubber * | getRubber () const |
Hook * | getBodyHook () |
virtual Point | getPosition () const |
Components | getConnexComponents () const |
Components | getSlaveComponents () const |
Public Member Functions inherited from Hurricane::Go | |
bool | isMaterialized () const |
Public Member Functions inherited from Hurricane::DBo | |
virtual void | destroy () |
Property * | getProperty (const Name &) const |
Properties | getProperties () const |
bool | hasProperty () const |
void | put (Property *) |
void | remove (Property *) |
void | removeProperty (const Name &) |
void | clearProperties () |
Static Public Member Functions | |
static Vertical * | create (Net *net, const Layer *layer, const DbU::Unit &x, const DbU::Unit &width=0, const DbU::Unit &dySource=0, const DbU::Unit &dyTarget=0) |
static Vertical * | create (Component *source, Component *target, const Layer *layer, const DbU::Unit &x, const DbU::Unit &width=0, const DbU::Unit &dySource=0, const DbU::Unit &dyTarget=0) |
Static Public Member Functions inherited from Hurricane::Component | |
static ComponentFilter | getIsUnderFilter (const Box &area) |
Static Public Member Functions inherited from Hurricane::Go | |
static bool | autoMaterializationIsDisabled () |
static void | enableAutoMaterialization () |
static void | disableAutoMaterialization () |
Vertical description (API)
A vertical has, in addition to inherited attributes, a specific one : its abscissa. The vertical extend of the segment is defined by the "source" and "target" components on which it is anchored.
This abscissa allows, among other things, to anchor a vertical segment extremity on a component (i.e. a contact) with a small horizontal offset without the need to materialize it, because it is implicitely equal to the difference between the vertical abscissa and the component abscissa. It allows also, and it not the least interesting feature, to anchor an extremity of a vertical directly on a horizontal segment (and conversely) without the need to create an intermediate contact (unless they are on different layers!). The abscissa of the implicit contact point is the one of the vertical and the ordinate the one of the horizontal).
Useful for calling upon methods of the base class without knowing it.
|
static |
creates and returns an absolute vertical segment with layer <layer>
, located at abscissa <x>
and of width <width>
. The differents extremities ordinates are given by <dySource>
and <dyTarget>
.
|
static |
creates and returns a vertical segment whose origin lies (through an offset equal to <dySource>
) on <source>
, whose extremity lies (through an offset equal to <dyTarget>
) on <target>
, with layer <layer>
, located at abscissa <x>
and of width <width>
.
|
inline |
Returns: the relative source ordinate of the segment (may be absolute if the source extremity isn't anchored).
|
inline |
Returns: the relative target ordinate of the segment (may be absolute if the target extremity isn't anchored).
void Hurricane::Vertical::setX | ( | const DbU::Unit & | x | ) |
sets the abscissa of the segment.
void Hurricane::Vertical::translate | ( | const DbU::Unit & | dx | ) |
translate horizontaly the vertical segment of the quantity <dx>
.
Generated by doxygen 1.9.1 on Thu Aug 11 2022 | Return to top of page |
Hurricane VLSI Database | Copyright © 2000-2020 Bull S.A. All rights reserved |