Public Methods | |
oaSegStyle () | |
oaSegStyle (oaDist width, oaEndStyle beginStyleIn, oaEndStyle endStyleIn, oaDist beginExtIn=0, oaDist endExtIn=0) | |
oaSegStyle (oaEndStyle beginStyleIn, oaEndStyle endStyleIn, oaDist endExtIn, oaDist endLeftDiagExtIn, oaDist endRightDiagExtIn, oaDist endRightHalfWidthIn, oaDist beginExtIn=0) | |
oaSegStyle (oaEndStyle beginStyleIn, oaDist beginExtIn, oaDist beginLeftDiagExtIn, oaDist beginRightDiagExtIn, oaDist beginRightHalfWidthIn, oaEndStyle endStyleIn, oaDist endExtIn=0) | |
oaSegStyle (oaEndStyle beginStyleIn, oaDist beginExtIn, oaDist beginLeftDiagExtIn, oaDist beginRightDiagExtIn, oaDist beginRightHalfWidthIn, oaEndStyle endStyleIn, oaDist endExtIn, oaDist endLeftDiagExtIn, oaDist endRightDiagExtIn, oaDist endRightHalfWidthIn) | |
oaSegStyle (const oaSegStyle &segStyleIn) | |
oaDist | getWidth () const |
oaEndStyle | getBeginStyle () const |
oaDist | getBeginExt () const |
void | getBeginExt (oaDist &ext, oaDist &leftDiagExt, oaDist &rightDiagExt, oaDist &rightHalfWidth) const |
oaEndStyle | getEndStyle () const |
oaDist | getEndExt () const |
void | getEndExt (oaDist &ext, oaDist &leftDiagExt, oaDist &rightDiagExt, oaDist &rightHalfWidth) const |
void | setWidth (oaDist widthIn) |
void | setBeginStyle (oaEndStyle style, oaDist ext=0) |
void | setBeginStyle (oaEndStyle style, oaDist ext, oaDist leftDiagExt, oaDist rightDiagExt, oaDist rightHalfWidth) |
void | setEndStyle (oaEndStyle style, oaDist ext=0) |
void | setEndStyle (oaEndStyle style, oaDist ext, oaDist leftDiagExt, oaDist rightDiagExt, oaDist rightHalfWidth) |
oaBoolean | operator== (const oaSegStyle &style) const |
oaBoolean | operator!= (const oaSegStyle &style) const |
void | genBoundary (oaPointArray &points) const |
Its supporting classes includes the oaEndStyle class, which implements an enumerated type representing the different styles the end of a path segment may have.
|
This constructor for the oaSegStyle class creates an empty oaSegStyle object. An object created with this constructor will have zero width and truncated begin and end endStyles. |
|
This constructor for the oaSegStyle class should be used when neither of the begin or end styles are custom chamfered styles. The begin and end extensions are optional and should be specified only if the corresponding end style is variable. The specified width should be an even number. An appropriate exception will be thrown if any of these requirements are not met. The 'width, 'beginExtIn' and 'endExtIn' values should be specified in regular database units if this segStyle is intended to be used for orthogonal segments and in diagonal database units if it is intended to be used for diagonal segments. Additionally, it is required that the 'width' value be an even number of units.
|
|
This constructor for the oaSegStyle class should be used when begin endStyle is not custom chamfered while the end endStyle is custom chamfered. The begin extension beginExtIn is optional and should be specified only if the begin endStyle, beginStyleIn, is "variable". The width for this segStyle defaults to being twice the endRightHalfWidthIn value specified. An appropriate exception will be thrown if any of the above requirements are not met. The beginExtIn, endExtIn and 'endRightHalfWidthIn values should be specified in regular database units if this segStyle is intended to be used for orthogonal segments and in diagonal database units if it is intended to be used for diagonal segments. The endLeftDiagExtIn and endRightDiagExtIn values should be specified in in diagonal database units if this segStyle is intended to be used for orthogonal segments and in regular database units if it is intended to be used for diagonal segments.
|
|
This constructor for the oaSegStyle class should be used when end endStyle is not custom chamfered while the begin endStyle is custom chamfered. The end extension endExtIn is optional and should be specified only if the end endStyleIn is "variable". The width for this segStyle defaults to being the double of the beginRightHalfWidthIn value specified. An exception will be thrown if the above requirements are not met. The beginExtIn, beginRightHalfWidthIn and endExtIn values should be specified in regular database units if this segStyle is intended to be used for orthogonal segments and in diagonal database units if it is intended to be used for diagonal segments. The beginLeftDiagExtIn and beginRightDiagExtIn values should be specified in in diagonal database units if this segStyle is intended to be used for orthogonal segments and in regular database units if it is intended to be used for diagonal segments.
|
|
This constructor for the oaSegStyle class should be used when both begin and end endStyles are custom chamfered. The width for this segStyle defaults to the sum of beginRightHalfWidthIn and endRightHalfWidthIn. An exception will be thrown if the above requirements are not met. The beginExtIn, beginRightHalfWidthIn, endExtIn and endRightHalfWidth values should be specified in regular database units if this segStyle is intended to be used for orthogonal segments and in diagonal database units if it is intended to be used for diagonal segments. The beginLeftDiagExtIn, beginRightDiagExtIn, endLeftDiagExtIn and endRightDiagExtIn values should be specified in diagonal database units if this segStyle is intended to be used for orthogonal segments and in regular database units if it is intended to be used for diagonal segments.
|
|
This copy constructor for the oaSegStyle class creates a copy of the specified oaSegStyle object 'segStyleIn'.
|
|
This function fills out boundary with the boundary polygon of a virtual segStyle. The segStyle is placed at the origin, and in left to right direction.
|
|
This function returns the custom begin extension values this object represents for an oaPathSeg object to which it may be applied. All returned values are valid if the begin endStyle is custom chamfered. Only 'ext' is valid if the begin endStyle is variable. For all other endStyles the returned values will be zero.
|
|
This function returns the regular begin extension this object represents for an oaPathSeg object to which it may be applied. The return value is valid only if the begin endStyle is variable or custom chamfered. A zero is returned if the begin endStyle is truncate, extend or chamfer. |
|
This function returns an oaEndStyle object that this object represents for the beginning of an oaPathSeg object to which it may be applied. |
|
This function returns the custom end extension values this object represents for an oaPathSeg object to which it may be applied. All returned values are valid if the end endStyle is custom chamfered. Only 'ext' is valid if the end endStyle is variable. For all other endStyles the returned values will be zero.
|
|
This function returns the regular end extension this object represents for an oaPathSeg object to which it may be applied. The return value is valid only if the end endStyle is variable or custom chamfered. A zero is returned if the end endStyle is truncate, extend or chamfer. |
|
This function returns an oaEndStyle object that this object represents for the end of an oaPathSeg object to which it may be applied. |
|
This function returns the width that this osSegStyle object currently represents. The returned value can be either be in regular orthogonal units or diagonal units based on the user context. |
|
This operator returns TRUE if the specified style is not equivalent to the oaSegStyle object on which this operator is invoked -- that is, if their corresponding endStyles, widths and extension values do not match exactly.
|
|
This operator returns TRUE if the specified style is equivalent to the oaSegStyle object on which this operator is invoked -- that is, their corresponding endStyles, widths and extension values match exactly.
|
|
This function sets the begin endStyle of this segStyle, and should be used for setting custom endStyles only. An exception is thrown if this requirement is not met. The width of this object is adjusted according to whether the segStyle at the end is custom or non-custom. The ext and rightHalfWidth values should be specified in regular database units if this segStyle is intended to be used for orthogonal segments. These values should be set in diagonal database units if it is intended to be used for diagonal segments. Conversely, the leftDiagExt and rightDiagExt values should be specified in diagonal database units if this segStyle is intended to be used for orthogonal segments, and they should be set in regular database units if it is intended to be used for diagonal segments.
|
|
This function sets the begin endStyle for this segStyle and should be used for the non-custom endStyles only. If an extension 'ext' is specified, the style must be variable. An exception is thrown if these criteria are not met. If the end endStyle is a custom endStyle, the width gets adjusted to be double that of the endRightHalfWidth. Otherwise, it remains unchanged. The value of 'ext' should be specified in regular database units if the style is to be used for orthogonal segments and in diagonal database units if the intended use is for diagonal segments.
|
|
This function sets the end endStyle of this segStyle and should be used for setting custom endStyles only. An exception is thrown if this requirement is not met. The width of this object gets adjusted based on whether the segStyle at the begin is custom or non-custom. The 'ext' and 'rightHalfWidth' values should be specified in regular database units if this segStyle is intended to be used for orthogonal segments and in diagonal database units if it is intended to be used for diagonal segments. The 'leftDiagExt' and 'rightDiagExt' values should be specified in diagonal database units if this segStyle is intended to be used for orthogonal segments and in regular database units if it is intended to be used for diagonal segments.
|
|
This function sets the end endStyle for this segStyle and should be used for the non-custom endStyles only. If an extension 'ext' is specified, the style must be variable. An exception is thrown if these criteria are not met. If the begin endStyle is a custom endStyle, the width gets adjusted to be double that of the beginRightHalfWidth. Otherwise, it remains unchanged. The value of 'ext' should be specified in regular database units if the style is to be used for orthogonal segments and in diagonal database units if the intended use is for diagonal segments.
|
|
This function sets the width of this segStyle. The width cannot be changed if both ends are custom chamfered. An exception will be thrown for this case. If only one end is custom-chamfered, the right half-width of that custom end is adjusted to be half the specified 'widthIn' value. For all other cases, the width applies directly and implies to all dependent extensions.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.