Points

class keysight.ads.de.BoxF
TFloatTuple

alias of tuple[float, float]

TPoint

alias of Union[PointF, tuple[float, float]]

__init__(*, lower_left: PointF | tuple[float, float] | None = None, upper_right: PointF | tuple[float, float] | None = None, x1: float | None = None, y1: float | None = None, x2: float | None = None, y2: float | None = None) None
contains(obj: PointF | BoxF) bool
expand(obj: PointF | BoxF) None
property lower_left: PointF
overlaps(obj: PointF | BoxF) bool
property upper_right: PointF
property x1: float
property x2: float
property y1: float
property y2: float
class keysight.ads.de.PointDBU

Represents a 2-D point in database units, using int data.

__init__(x: ~keysight.ads.de._points.CoordinateType, y: ~keysight.ads.de._points.CoordinateType, _coordinate_type: dataclasses.InitVar[type] = <class 'int'>) None
astuple() tuple[CoordinateType, CoordinateType]
classmethod from_point(pt: Point2d) Point2dType

Casts the values from “pt” to the point type specified by “cls”.

Note that this does not do any conversions or other changes to the coordinate values! This function simply copies the numeric values to a point object of a different class.

x: CoordinateType
y: CoordinateType
class keysight.ads.de.PointF

Represents a 2-D point using float data. The units are not defined.

__init__(x: ~keysight.ads.de._points.CoordinateType, y: ~keysight.ads.de._points.CoordinateType, _coordinate_type: dataclasses.InitVar[type] = <class 'float'>) None
astuple() tuple[CoordinateType, CoordinateType]
classmethod from_point(pt: Point2d) Point2dType

Casts the values from “pt” to the point type specified by “cls”.

Note that this does not do any conversions or other changes to the coordinate values! This function simply copies the numeric values to a point object of a different class.

x: CoordinateType
y: CoordinateType
class keysight.ads.de.PointMKS

Represents a 2-D point in MKS units, using float data.

__init__(x: ~keysight.ads.de._points.CoordinateType, y: ~keysight.ads.de._points.CoordinateType, _coordinate_type: dataclasses.InitVar[type] = <class 'float'>) None
astuple() tuple[CoordinateType, CoordinateType]
classmethod from_point(pt: Point2d) Point2dType

Casts the values from “pt” to the point type specified by “cls”.

Note that this does not do any conversions or other changes to the coordinate values! This function simply copies the numeric values to a point object of a different class.

x: CoordinateType
y: CoordinateType
class keysight.ads.de.PointUU

Represents a 2-D point in user units, using float data.

__init__(x: ~keysight.ads.de._points.CoordinateType, y: ~keysight.ads.de._points.CoordinateType, _coordinate_type: dataclasses.InitVar[type] = <class 'float'>) None
astuple() tuple[CoordinateType, CoordinateType]
classmethod from_point(pt: Point2d) Point2dType

Casts the values from “pt” to the point type specified by “cls”.

Note that this does not do any conversions or other changes to the coordinate values! This function simply copies the numeric values to a point object of a different class.

x: CoordinateType
y: CoordinateType
keysight.ads.de.dbu(arg: Point2d | tuple[CoordinateType, CoordinateType]) PointDBU
keysight.ads.de.dbu(arg: Sequence[Point2d | tuple[CoordinateType, CoordinateType]]) list[PointDBU]
keysight.ads.de.uu(arg: Point2d | tuple[CoordinateType, CoordinateType]) PointUU
keysight.ads.de.uu(arg: Sequence[Point2d | tuple[CoordinateType, CoordinateType]]) list[PointUU]
On this page