An exact (floating-point) location in the 2D space. More...
Public Member Functions | |
| EPoint (float centerX, float centerY) | |
| Constructs a EPoint object. | |
| EPoint (eVision.EFrame frame) | |
| Constructs a EPoint object. | |
| void | CopyTo (ref eVision.EPoint other) |
| Copies all the data of the current EPoint object into another EPoint object and returns it. | |
| void | SetCenterXY (float centerX, float centerY) |
| Sets the center coordinates of a EPoint object. | |
| eVision.EPoint | MidPoint (eVision.EPoint Point) |
| Returns the middle coordinate between this EPoint object and another EPoint object. | |
| eVision.EPoint | Rotate (float angle) |
| Returns another EPoint object containing the coordinated of the rotated point. | |
| float | Square () |
| Compute the sum of the squared coordinates of a EPoint. | |
| float | Modulus () |
| Compute the euclidean modulus of a EPoint. | |
| float | Argument () |
| Compute the polar argument of a EPoint object. | |
| float | Dot (eVision.EPoint Point) |
| Compute the dot product of two EPoint object. | |
| float | Cross (eVision.EPoint Point) |
| Compute the cross product of two EPoint object. | |
| float | Area (eVision.EPoint Point) |
| Compute the oriented area of the parallelogram built on two EPoint. | |
| eVision.EPoint | Project (eVision.ELine line, bool segmentOnly) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.ELine line) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.ECircle circle, bool arcOnly) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.ECircle circle) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.Legacy.ELine line, bool segmentOnly) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.Legacy.ELine line) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.Legacy.ECircle circle, bool arcOnly) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| eVision.EPoint | Project (eVision.Legacy.ECircle circle) |
| Compute the orthogonal projection of a EPoint on another shape. | |
| float | SquaredDistance (eVision.EPoint Point) |
| Compute the squared distance between two EPoint. | |
| eVision.EPoint | Move (float angle, float distance) |
| Return the position by moving the point along angle by distance. | |
| float | Distance (eVision.EPoint point) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.ELine line, bool segmentOnly) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.ELine line) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.ECircle circle, bool arcOnly) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.ECircle circle) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.Legacy.ELine line, bool segmentOnly) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.Legacy.ELine line) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.Legacy.ECircle circle, bool arcOnly) |
| Returns the distance between the addressed point and an EPoint object. | |
| float | Distance (eVision.Legacy.ECircle circle) |
| Returns the distance between the addressed point and an EPoint object. | |
| void | Load (string path) |
| Load the EPoint configuration. The given ESerializer must have been created for reading. | |
| void | Load (eVision.ESerializer serializer) |
| Load the EPoint configuration. The given ESerializer must have been created for reading. | |
| void | Save (string path) |
| Save the EPoint configuration. The given ESerializer must have been created for writing. | |
| void | Save (eVision.ESerializer serializer) |
| Save the EPoint configuration. The given ESerializer must have been created for writing. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, float zoomX) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the EPoint. | |
| void | Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame) |
| Draws the EPoint. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, float zoomX) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX) |
| Draws the EPoint handle for graphical manipulation. | |
| void | DrawHandle (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame) |
| Draws the EPoint handle for graphical manipulation. | |
| eVision.EEditionMode | HitTest (int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (int x, int y, float zoomX, float zoomY, float panX) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (int x, int y, float zoomX, float zoomY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (int x, int y, float zoomX) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (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 (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 (int x, int y, eVision.EFrame frame, float zoomX, float zoomY) |
| Detects if the cursor is placed over the point. | |
| eVision.EEditionMode | HitTest (int x, int y, eVision.EFrame frame, float zoomX) |
| Detects if the cursor is placed over the point. | |
| void | Drag (int x, int y, float zoomX, float zoomY, float panX, float panY) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, float zoomX, float zoomY, float panX) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, float zoomX, float zoomY) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, float zoomX) |
| Moves the point to a new position. | |
| void | Drag (int x, int y) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, eVision.EFrame frame, float zoomX, float zoomY) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, eVision.EFrame frame, float zoomX) |
| Moves the point to a new position. | |
| void | Drag (int x, int y, eVision.EFrame frame) |
| Moves the point to a new position. | |
Static Public Member Functions | |
| static eVision.EPoint | operator+ (eVision.EPoint extraArgument, eVision.EPoint point) |
| Adds to the current EPoint center coordinates the center coordinates of another EPoint object. | |
| static eVision.EPoint | operator- (eVision.EPoint extraArgument, eVision.EPoint point) |
| Subtracts from the current EPoint center coordinates the center coordinates of another EPoint object. | |
| static eVision.EPoint | operator* (eVision.EPoint extraArgument, float scalar) |
| Multiplies the current EPoint center coordinates by a given multiplier. | |
| static eVision.EPoint | operator/ (eVision.EPoint extraArgument, float scalar) |
| Divides the current EPoint center coordinates by a given divisor. | |
| static bool | operator== (eVision.EPoint extraArgument, eVision.EPoint point) |
| Compares the current EPoint center coordinates with the center coordinates of another EPoint object. | |
| static bool | operator!= (eVision.EPoint extraArgument, eVision.EPoint point) |
| Compares the current EPoint center coordinates with the center coordinates of another EPoint object. | |
Public Attributes | |
| float | X |
| Abscissa (X coordinate) of the EPoint object. | |
| float | Y |
| Ordinate (Y coordinate) of the EPoint object. | |
Properties | |
| eVision.EPoint | Center [get, set] |
| Center coordinates of a EPoint object. | |
An exact (floating-point) location in the 2D space.
License(s): None
| eVision.EPoint.EPoint | ( | float | centerX, |
| float | centerY ) |
| eVision.EPoint.EPoint | ( | eVision.EFrame | frame | ) |
Constructs a EPoint object.
Use EFrame.Center or EFrame.SensorCenter instead.
Deprecated in version 26.2. Scheduled to be removed in version 27.6.
| float eVision.EPoint.Area | ( | eVision.EPoint | Point | ) |
Compute the oriented area of the parallelogram built on two EPoint.
| Point | Second edge of the parallelogram. |
Compute the oriented area of the parallelogram built on two 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).
| float eVision.EPoint.Argument | ( | ) |
| void eVision.EPoint.CopyTo | ( | ref eVision.EPoint | other | ) |
| float eVision.EPoint.Cross | ( | eVision.EPoint | Point | ) |
Compute the cross product of two EPoint object.
| Point | Second factor of the cross product. |
| float eVision.EPoint.Distance | ( | eVision.ECircle | circle | ) |
Returns the distance between the addressed point and an EPoint object.
| circle | ECircle object with which to calculate the distance. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.ECircle | circle, |
| bool | arcOnly ) |
Returns the distance between the addressed point and an EPoint object.
| circle | ECircle object with which to calculate the distance. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.ELine | line | ) |
Returns the distance between the addressed point and an EPoint object.
| line | ELine object with which to calculate the distance. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.ELine | line, |
| bool | segmentOnly ) |
Returns the distance between the addressed point and an EPoint object.
| line | ELine object with which to calculate the distance. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.EPoint | point | ) |
Returns the distance between the addressed point and an EPoint object.
| point | EPoint.EPoint object with which to calculate the distance. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.Legacy.ECircle | circle | ) |
Returns the distance between the addressed point and an EPoint object.
| circle | ECircle object with which to calculate the distance. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.Legacy.ECircle | circle, |
| bool | arcOnly ) |
Returns the distance between the addressed point and an EPoint object.
| circle | ECircle object with which to calculate the distance. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.Legacy.ELine | line | ) |
Returns the distance between the addressed point and an EPoint object.
| line | ELine object with which to calculate the distance. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Distance | ( | eVision.Legacy.ELine | line, |
| bool | segmentOnly ) |
Returns the distance between the addressed point and an EPoint object.
| line | ELine object with which to calculate the distance. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
Many EasyGauge members provide measurement result as a EPoint.EPoint object (see EPointGauge.Center, EPointGauge.GetMeasuredPoint,...). The 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.
| float eVision.EPoint.Dot | ( | eVision.EPoint | Point | ) |
Compute the dot product of two EPoint object.
| Point | Second factor of the dot product. |
| void eVision.EPoint.Drag | ( | int | x, |
| int | y ) |
Moves the point to a new position.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame ) |
Moves the point to a new position.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| frame | Frame of reference in which the point is defined. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| float | zoomX ) |
Moves the point to a new position.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Drag | ( | int | x, |
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Moves the point to a new position.
| 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. |
A point doesn't need to be hit before being draggable. If you want this behavior, save the returned value of EPoint.HitTest and call this method only when this value is different from EEditionMode.None.
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter | ) |
Draws the EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame ) |
Draws the EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| frame | Frame of reference in which the point is defined. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the 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. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the 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. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the 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. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the 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. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX ) |
Draws the EPoint.
| drawAdapter | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the 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. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the 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. |
| void eVision.EPoint.Draw | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter | ) |
Draws the EPoint handle for graphical manipulation.
| drawAdapter | Handle of the device context on which to draw. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the 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. |
| void eVision.EPoint.DrawHandle | ( | eVision.EDrawAdapter | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the 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 | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| float | zoomX ) |
Detects if the cursor is placed over the point.
| x | x-coordinate of the mouse cursor. |
| y | y-coordinate of the mouse cursor. |
| zoomX | Horizontal zoom factor. By default, true scale is used. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| float | zoomX, | ||
| float | zoomY ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| eVision.EEditionMode eVision.EPoint.HitTest | ( | int | x, |
| int | y, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Detects if the cursor is placed over the point.
| 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. |
Returns an EEditionMode indicating the type of handle under the mouse.
| void eVision.EPoint.Load | ( | eVision.ESerializer | serializer | ) |
Load the EPoint configuration. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| void eVision.EPoint.Load | ( | string | path | ) |
Load the EPoint configuration. The given ESerializer must have been created for reading.
| path | The file path. |
| eVision.EPoint eVision.EPoint.MidPoint | ( | eVision.EPoint | Point | ) |
| float eVision.EPoint.Modulus | ( | ) |
| eVision.EPoint eVision.EPoint.Move | ( | 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. |
|
static |
|
static |
Multiplies the current EPoint center coordinates by a given multiplier.
| scalar | The multiplier. |
|
static |
|
static |
|
static |
Divides the current EPoint center coordinates by a given divisor.
| scalar | The divisor. |
|
static |
| eVision.EPoint eVision.EPoint.Project | ( | eVision.ECircle | circle | ) |
Compute the orthogonal projection of a EPoint on another shape.
| circle | ECircle object to which point is projected. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.ECircle | circle, |
| bool | arcOnly ) |
Compute the orthogonal projection of a EPoint on another shape.
| circle | ECircle object to which point is projected. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.ELine | line | ) |
Compute the orthogonal projection of a EPoint on another shape.
| line | ELine object to which point is projected. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.ELine | line, |
| bool | segmentOnly ) |
Compute the orthogonal projection of a EPoint on another shape.
| line | ELine object to which point is projected. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.Legacy.ECircle | circle | ) |
Compute the orthogonal projection of a EPoint on another shape.
| circle | ECircle object to which point is projected. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.Legacy.ECircle | circle, |
| bool | arcOnly ) |
Compute the orthogonal projection of a EPoint on another shape.
| circle | ECircle object to which point is projected. |
| arcOnly | By default (false), the circle is not restricted to an arc. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.Legacy.ELine | line | ) |
Compute the orthogonal projection of a EPoint on another shape.
| line | ELine object to which point is projected. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Project | ( | eVision.Legacy.ELine | line, |
| bool | segmentOnly ) |
Compute the orthogonal projection of a EPoint on another shape.
| line | ELine object to which point is projected. |
| segmentOnly | By default (false), the line is not restricted to a segment. |
Compute the orthogonal projection of a 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.
| eVision.EPoint eVision.EPoint.Rotate | ( | float | angle | ) |
Returns another EPoint object containing the coordinated of the rotated point.
| angle | Rotation angle (in radians) |
Rotates a 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).
| void eVision.EPoint.Save | ( | eVision.ESerializer | serializer | ) |
Save the EPoint configuration. The given ESerializer must have been created for writing.
| serializer | The serializer. |
| void eVision.EPoint.Save | ( | string | path | ) |
Save the EPoint configuration. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision.EPoint.SetCenterXY | ( | float | centerX, |
| float | centerY ) |
Sets the center coordinates of a EPoint object.
| centerX | Center coordinates of the EPoint object. |
| centerY | Center coordinates of the EPoint object. |
Use X, Y or the copy constructor instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.
| float eVision.EPoint.Square | ( | ) |
| float eVision.EPoint.SquaredDistance | ( | eVision.EPoint | Point | ) |
| float eVision.EPoint.X |
Abscissa (X coordinate) of the EPoint object.
| float eVision.EPoint.Y |
Ordinate (Y coordinate) of the EPoint object.
|
getset |
Center coordinates of a EPoint object.
Use the copy constructor instead.
Deprecated in version 25.10. Scheduled to be removed in version 27.6.