An exact (floating-point) location in the 2D space. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a eVision.EPoint object. | |
| None | __init__ (self, float centerX, float centerY) |
| Constructs a eVision.EPoint object. | |
| None | __init__ (self, eVision.EFrame frame) |
| Constructs a eVision.EPoint object. | |
| None | __init__ (self, float X) |
| None | __init__ (self, eVision.EPoint other) |
| None | CopyTo (self, eVision.EPoint other) |
| Copies all the data of the current eVision.EPoint object into another eVision.EPoint object and returns it. | |
| None | SetCenterXY (self, float centerX, float centerY) |
| Sets the center coordinates of a eVision.EPoint object. | |
| eVision.EPoint | MidPoint (self, eVision.EPoint Point) |
| Returns the middle coordinate between this eVision.EPoint object and another eVision.EPoint object. | |
| eVision.EPoint | Rotate (self, float angle) |
| Returns another eVision.EPoint object containing the coordinated of the rotated point. | |
| float | Square (self) |
| Compute the sum of the squared coordinates of a eVision.EPoint. | |
| float | Modulus (self) |
| Compute the euclidean modulus of a eVision.EPoint. | |
| float | Argument (self) |
| Compute the polar argument of a eVision.EPoint object. | |
| float | Dot (self, eVision.EPoint Point) |
| Compute the dot product of two eVision.EPoint object. | |
| float | Cross (self, eVision.EPoint Point) |
| Compute the cross product of two eVision.EPoint object. | |
| float | Area (self, eVision.EPoint Point) |
| Compute the oriented area of the parallelogram built on two eVision.EPoint. | |
| eVision.EPoint | Project (self, eVision.ELine line, bool segmentOnly) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.ELine line) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.ECircle circle, bool arcOnly) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.ECircle circle) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.Legacy.ELine line, bool segmentOnly) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.Legacy.ELine line) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.Legacy.ECircle circle, bool arcOnly) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| eVision.EPoint | Project (self, eVision.Legacy.ECircle circle) |
| Compute the orthogonal projection of a eVision.EPoint on another shape. | |
| float | SquaredDistance (self, eVision.EPoint Point) |
| Compute the squared distance between two eVision.EPoint. | |
| eVision.EPoint | Move (self, float angle, float distance) |
| Return the position by moving the point along angle by distance. | |
| float | Distance (self, eVision.EPoint point) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.ELine line, bool segmentOnly) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.ELine line) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.ECircle circle, bool arcOnly) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.ECircle circle) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.Legacy.ELine line, bool segmentOnly) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.Legacy.ELine line) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.Legacy.ECircle circle, bool arcOnly) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| float | Distance (self, eVision.Legacy.ECircle circle) |
| Returns the distance between the addressed point and an eVision.EPoint object. | |
| None | Load (self, str path) |
| Load the eVision.EPoint configuration. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Load the eVision.EPoint configuration. | |
| None | Save (self, str path) |
| Save the eVision.EPoint configuration. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Save the eVision.EPoint configuration. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the eVision.EPoint. | |
| None | Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame) |
| Draws the eVision.EPoint. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, float zoomX) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| None | DrawHandle (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame) |
| Draws the eVision.EPoint handle for graphical manipulation. | |
| eVision.EEditionMode | HitTest (self, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, float zoomX, float zoomY, float panX) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, float zoomX, float zoomY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, float zoomX) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (self, int x, int y, eVision.EFrame frame, float zoomX) |
| Detects if the cursor is placed over the point. | |
| None | Drag (self, int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, float zoomX, float zoomY, float panX) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, float zoomX, float zoomY) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, float zoomX) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, eVision.EFrame frame, float zoomX) |
| Moves the point to a new position. | |
| None | Drag (self, int x, int y, eVision.EFrame frame) |
| Moves the point to a new position. | |
| eVision.EPoint | Center (self) |
| Center coordinates of a eVision.EPoint object. | |
| Center (self, eVision.EPoint value) | |
| Center coordinates of a eVision.EPoint object. | |
| float | X (self) |
| Abscissa (X coordinate) of the eVision.EPoint object. | |
| X (self, float value) | |
| Abscissa (X coordinate) of the eVision.EPoint object. | |
| float | Y (self) |
| Ordinate (Y coordinate) of the eVision.EPoint object. | |
| Y (self, float value) | |
| Ordinate (Y coordinate) of the eVision.EPoint object. | |
An exact (floating-point) location in the 2D space.
Remarks:
License(s): None
| None eVision.EPoint.__init__ | ( | self | ) |
Constructs a eVision.EPoint object.
| None eVision.EPoint.__init__ | ( | self, | |
| float | centerX, | ||
| float | centerY ) |
Constructs a eVision.EPoint object.
| centerX | Center coordinates of the eVision.EPoint object. |
| centerY | Center coordinates of the eVision.EPoint object. |
| None eVision.EPoint.__init__ | ( | self, | |
| eVision.EFrame | frame ) |
Constructs a eVision.EPoint object.
Use eVision.EFrame.Center or eVision.EFrame.SensorCenter instead.
Deprecated in version 26.2. Scheduled to be removed in version 27.6.
| frame | To construct a eVision.EPoint from the center of a eVision.EFrame |
| None eVision.EPoint.__init__ | ( | self, | |
| float | X ) |
| X | Abscissa (X coordinate) of the eVision.EPoint object |
| None eVision.EPoint.__init__ | ( | self, | |
| eVision.EPoint | other ) |
| other | Other instance |
| float eVision.EPoint.Area | ( | self, | |
| eVision.EPoint | Point ) |
Compute the oriented area of the parallelogram built on two eVision.EPoint.
Remarks:
Compute the oriented area of the parallelogram built on two eVision.EPoint. The area is counted as positive if the oriented vector pair ('first edge', 'second edge') is in the same sense that the axis frame. This oriented area can also be viewed as the z-coordinate of a vector product of two 3D vectors obtained in supplementing each edges with a third z-coordinate (set to zero).
| Point | Second edge of the parallelogram. |
| float eVision.EPoint.Argument | ( | self | ) |
Compute the polar argument of a eVision.EPoint object.
Remarks:
Compute the angle (in radians) between the oriented X-axis and the vector going from the axis origin and the eVision.EPoint. If the axis frame is orthogonal, this number is also the polar argument of the eVision.EPoint.
| eVision.EPoint eVision.EPoint.Center | ( | self | ) |
Center coordinates of a eVision.EPoint object.
Use the copy constructor instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| eVision.EPoint.Center | ( | self, | |
| eVision.EPoint | value ) |
Center coordinates of a eVision.EPoint object.
Use the copy constructor instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| None eVision.EPoint.CopyTo | ( | self, | |
| eVision.EPoint | other ) |
Copies all the data of the current eVision.EPoint object into another eVision.EPoint object and returns it.
Remarks:
In the overload taking a pointer, in case of a NULL pointer, a new eVision.EPoint object will be created and returned.
| other | eVision.EPoint object in which the current eVision.EPoint object data have to be copied. |
| float eVision.EPoint.Cross | ( | self, | |
| eVision.EPoint | Point ) |
Compute the cross product of two eVision.EPoint object.
| Point | Second factor of the cross product. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.ECircle | circle ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| circle | eVision.ECircle object with which to calculate the distance. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.ECircle | circle, | ||
| bool | arcOnly ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| circle | eVision.ECircle object with which to calculate the distance. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.ELine | line ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| line | eVision.ELine object with which to calculate the distance. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.ELine | line, | ||
| bool | segmentOnly ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| line | eVision.ELine object with which to calculate the distance. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.EPoint | point ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| point | eVision.EPoint.__init__ object with which to calculate the distance. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.Legacy.ECircle | circle ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| circle | eVision.ECircle object with which to calculate the distance. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.Legacy.ECircle | circle, | ||
| bool | arcOnly ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| circle | eVision.ECircle object with which to calculate the distance. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.Legacy.ELine | line ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| line | eVision.ELine object with which to calculate the distance. |
| float eVision.EPoint.Distance | ( | self, | |
| eVision.Legacy.ELine | line, | ||
| bool | segmentOnly ) |
Returns the distance between the addressed point and an eVision.EPoint object.
Remarks:
Many EasyGauge members provide measurement result as a eVision.EPoint.__init__ object (see eVision.EPointGauge.Center, eVision.EPointGauge.GetMeasuredPoint,...). The eVision.EPoint class has its own members to retrieve all the information pertaining to a point. Among them, the Distance method returns the distance between a point pair or between a point and a line segment, a circle arc or a rectangle.
| line | eVision.ELine object with which to calculate the distance. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
| float eVision.EPoint.Dot | ( | self, | |
| eVision.EPoint | Point ) |
Compute the dot product of two eVision.EPoint object.
| Point | Second factor of the dot product. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| None eVision.EPoint.Drag | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Moves the point to a new position.
Remarks:
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of eVision.EPoint.HitTest and call this method only when this value is different from eVision.EEditionMode.None.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.Draw | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.EPoint.DrawHandle | ( | self, | |
| eVision.EDrawAdapter | None | drawAdapter, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the eVision.EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| eVision.EEditionMode eVision.EPoint.HitTest | ( | self, | |
| int | x, | ||
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Detects if the cursor is placed over the point.
Remarks:
Returns an eVision.EEditionMode indicating the type of handle under the mouse.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
| zoomY | Vertical zoom factor. By default, true scale is used. |
| panX | Horizontal pan offset. By default, no pan is added. |
| panY | Vertical pan offset. By default, no pan is added. |
| None eVision.EPoint.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Load the eVision.EPoint configuration.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.EPoint.Load | ( | self, | |
| str | path ) |
Load the eVision.EPoint configuration.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| eVision.EPoint eVision.EPoint.MidPoint | ( | self, | |
| eVision.EPoint | Point ) |
Returns the middle coordinate between this eVision.EPoint object and another eVision.EPoint object.
| Point | The other eVision.EPoint object. |
| float eVision.EPoint.Modulus | ( | self | ) |
Compute the euclidean modulus of a eVision.EPoint.
Remarks:
Compute the squared root of the sum of the squared coordinates of an eVision.EPoint. If the axis frame is orthogonal, this number is also the euclidean norm of the eVision.EPoint.
| eVision.EPoint eVision.EPoint.Move | ( | self, | |
| float | angle, | ||
| float | distance ) |
Return the position by moving the point along angle by distance.
| angle | The direction of the displacement, in radians. |
| distance | The distance of the displacement. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.ECircle | circle ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| circle | eVision.ECircle object to which point is projected. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.ECircle | circle, | ||
| bool | arcOnly ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| circle | eVision.ECircle object to which point is projected. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.ELine | line ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| line | eVision.ELine object to which point is projected. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.ELine | line, | ||
| bool | segmentOnly ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| line | eVision.ELine object to which point is projected. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.Legacy.ECircle | circle ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| circle | eVision.ECircle object to which point is projected. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.Legacy.ECircle | circle, | ||
| bool | arcOnly ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| circle | eVision.ECircle object to which point is projected. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.Legacy.ELine | line ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| line | eVision.ELine object to which point is projected. |
| eVision.EPoint eVision.EPoint.Project | ( | self, | |
| eVision.Legacy.ELine | line, | ||
| bool | segmentOnly ) |
Compute the orthogonal projection of a eVision.EPoint on another shape.
Remarks:
Compute the orthogonal projection of a eVision.EPoint on another shape. This computation is only valid when the axis frame is orthogonal. When the shape is restricted and the orthogonal projection does not lie on the shape, then the closest point on the shape is returned instead.
| line | eVision.ELine object to which point is projected. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
| eVision.EPoint eVision.EPoint.Rotate | ( | self, | |
| float | angle ) |
Returns another eVision.EPoint object containing the coordinated of the rotated point.
Remarks:
Rotates a eVision.EPoint around the origin (0, 0) by an angle of angle radians. By definition, the smallest (in absolute value) rotation of the oriented X-Axis toward the oriented Y-Axis is chosen as the positive sense of rotation. In a direct frame, this is also the trigonometric sense (counter clockwise).
| angle | Rotation angle (in radians) |
| None eVision.EPoint.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Save the eVision.EPoint configuration.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
| None eVision.EPoint.Save | ( | self, | |
| str | path ) |
Save the eVision.EPoint configuration.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| None eVision.EPoint.SetCenterXY | ( | self, | |
| float | centerX, | ||
| float | centerY ) |
Sets the center coordinates of a eVision.EPoint object.
Use X, Y or the copy constructor instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| centerX | Center coordinates of the eVision.EPoint object. |
| centerY | Center coordinates of the eVision.EPoint object. |
| float eVision.EPoint.Square | ( | self | ) |
Compute the sum of the squared coordinates of a eVision.EPoint.
Remarks:
Compute the sum of the squared coordinates of a eVision.EPoint. If the axis frame is orthogonal, this sum of squares is also the squared euclidean norm of the eVision.EPoint object.
| float eVision.EPoint.SquaredDistance | ( | self, | |
| eVision.EPoint | Point ) |
Compute the squared distance between two eVision.EPoint.
Remarks:
Compute the sum of squared coordinates differences of two eVision.EPoint. If the axis frame is orthogonal, this number is also the squared euclidean distance between two eVision.EPoint.
| Point | Second eVision.EPoint. |
| float eVision.EPoint.X | ( | self | ) |
Abscissa (X coordinate) of the eVision.EPoint object.
| eVision.EPoint.X | ( | self, | |
| float | value ) |
Abscissa (X coordinate) of the eVision.EPoint object.
| float eVision.EPoint.Y | ( | self | ) |
Ordinate (Y coordinate) of the eVision.EPoint object.
| eVision.EPoint.Y | ( | self, | |
| float | value ) |
Ordinate (Y coordinate) of the eVision.EPoint object.