|
| None | __init__ (self) |
| | Constructs a eVision.Legacy.EPolygon.
|
| None | __init__ (self, eVision.Legacy.EPolygon other) |
| | Constructs a eVision.Legacy.EPolygon.
|
| None | __init__ (self, list[eVision._eVision.EPoint] vertices, bool closed) |
| | Constructs a eVision.Legacy.EPolygon.
|
| None | __init__ (self, list[eVision._eVision.EPoint] vertices) |
| | Constructs a eVision.Legacy.EPolygon.
|
| None | CopyTo (self, eVision.Legacy.EPolygon other) |
| | Copies all the data of the current eVision.Legacy.EPolygon object into another eVision.Legacy.EPolygon object, and returns it.
|
| None | AppendVertex (self, eVision.EPoint pt) |
| | Appends a polygon vertex after the last.
|
| None | InsertVertex (self, int index, eVision.EPoint pt) |
| | Inserts a vertex before the given index.
|
| None | RemoveVertex (self, int index) |
| | Removes vertex at the given index.
|
| None | SetVertex (self, int index, eVision.EPoint pt) |
| | Sets a polygon vertex.
|
| eVision.EPoint | GetVertex (self, int index) |
| | Gets a polygon vertex.
|
| bool | IsValid (self) |
| | Returns true if the polygon is valid.
|
| None | Save (self, str file) |
| | Saves the polygon.
|
| None | Save (self, eVision.ESerializer|None serializer) |
| | Saves the polygon.
|
| None | Load (self, str file) |
| | Loads the polygon.
|
| None | Load (self, eVision.ESerializer|None serializer) |
| | Loads the polygon.
|
| bool | IsClosed (self) |
| | The polygon close attribute.
|
| | IsClosed (self, bool value) |
| | The polygon close attribute.
|
| int | NumVertices (self) |
| | Returns the number of polygon's vertices.
|
| int | NumEdges (self) |
| | Returns the number of polygon's edges (or sides).
|
| list[eVision._eVision.EPoint] | Vertices (self) |
| | Returns the list of polygon vertices.
|
| float | Length (self) |
| | Returns the length (perimeter) of the polygon.
|
| float | Area (self) |
| | Returns the area of the polygon.
|
| None | __init__ (self) |
| | Constructs a eVision.Legacy.EFrame object.
|
| None | __init__ (self, float centerX, float centerY, float angle, float scale) |
| | Constructs a eVision.Legacy.EFrame object.
|
| None | __init__ (self, float centerX, float centerY, float angle) |
| | Constructs a eVision.Legacy.EFrame object.
|
| None | __init__ (self, float centerX, float centerY) |
| | Constructs a eVision.Legacy.EFrame object.
|
| None | __init__ (self, eVision.EPoint center, float angle, float scale) |
| | Constructs a eVision.Legacy.EFrame object.
|
| None | __init__ (self, eVision.Legacy.EFrame frame) |
| | Constructs a eVision.Legacy.EFrame object.
|
| eVision.EPoint | LocalToGlobal (self, eVision.EPoint local) |
| | Transforms a geometrical element from local to global coordinates (local to world).
|
| eVision.Legacy.ELine | LocalToGlobal (self, eVision.Legacy.ELine local) |
| | Transforms a geometrical element from local to global coordinates (local to world).
|
| eVision.Legacy.ECircle | LocalToGlobal (self, eVision.Legacy.ECircle local) |
| | Transforms a geometrical element from local to global coordinates (local to world).
|
| eVision.Legacy.EFrame | LocalToGlobal (self, eVision.Legacy.EFrame local) |
| | Transforms a geometrical element from local to global coordinates (local to world).
|
| eVision.EPoint | GlobalToLocal (self, eVision.EPoint global_) |
| | Transforms a geometrical element from global to local coordinates (world to local).
|
| eVision.Legacy.EFrame | GlobalToLocal (self, eVision.Legacy.EFrame global_) |
| | Transforms a geometrical element from global to local coordinates (world to local).
|
| None | SetCenterXY (self, float centerX, float centerY) |
| | Sets the center coordinates of a eVision.Legacy.EFrame object.
|
| eVision.EPoint | MidPoint (self, eVision.EPoint Point) |
| | Returns the middle coordinate between this eVision.Legacy.EFrame object's center and another eVision.Legacy.EFrame object's center.
|
| eVision.EPoint | Rotate (self, float angle) |
| | Returns another eVision.EPoint object containing the coordinates of the rotated center point.
|
| float | Square (self) |
| | Compute the sum of the squared coordinates of the center of a eVision.Legacy.EFrame.
|
| float | Modulus (self) |
| | Compute the euclidean modulus of the center of a eVision.Legacy.EFrame.
|
| float | Argument (self) |
| | Compute the polar argument of the center of eVision.Legacy.EFrame object.
|
| float | Dot (self, eVision.EPoint Point) |
| | Compute the dot product of the centers of two eVision.Legacy.EFrame objects.
|
| float | Cross (self, eVision.EPoint Point) |
| | Compute the cross product of the centers of two eVision.Legacy.EFrame objects.
|
| eVision.EPoint | Project (self, eVision.Legacy.ELine shape) |
| | Compute the orthogonal projection of the center of a eVision.Legacy.EFrame on another shape.
|
| eVision.EPoint | Project (self, eVision.Legacy.ECircle shape) |
| | Compute the orthogonal projection of the center of a eVision.Legacy.EFrame on another shape.
|
| float | SquaredDistance (self, eVision.EPoint Point) |
| | Compute the squared distance between the centers of two eVision.Legacy.EFrame.
|
| eVision.EPoint | Move (self, float angle, float distance) |
| | Return the position by moving the center along angle by distance.
|
| float | Distance (self, eVision.EPoint point) |
| | Returns the distance between the addressed point and the center of eVision.Legacy.EFrame object.
|
| float | Distance (self, eVision.Legacy.ELine line, bool segmentOnly) |
| | Returns the distance between the addressed point and the center of eVision.Legacy.EFrame object.
|
| float | Distance (self, eVision.Legacy.ELine line) |
| | Returns the distance between the addressed point and the center of eVision.Legacy.EFrame object.
|
| float | Distance (self, eVision.Legacy.ECircle circle, bool arcOnly) |
| | Returns the distance between the addressed point and the center of eVision.Legacy.EFrame object.
|
| float | Distance (self, eVision.Legacy.ECircle circle) |
| | Returns the distance between the addressed point and the center of eVision.Legacy.EFrame object.
|
| float | Angle (self) |
| | Orientation of the frame.
|
| | Angle (self, float value) |
| | Orientation of the frame.
|
| float | Scale (self) |
| | Horizontal sensor resolution, in pixels per unit.
|
| | Scale (self, float value) |
| | Horizontal sensor resolution, in pixels per unit.
|
| float | CenterX (self) |
| | Abscissa of the origin point of the frame.
|
| float | CenterY (self) |
| | Ordinate of the origin point of the frame.
|
| eVision.EPoint | Center (self) |
| | Center.
|
| | Center (self, eVision.EPoint value) |
| | Center.
|
| float | X (self) |
| | Abscissa (X coordinate) of the eVision.Legacy.EFrame object.
|
| | X (self, float value) |
| | Abscissa (X coordinate) of the eVision.Legacy.EFrame object.
|
| float | Y (self) |
| | Ordinate (Y coordinate) of the eVision.Legacy.EFrame object.
|
| | Y (self, float value) |
| | Ordinate (Y coordinate) of the eVision.Legacy.EFrame object.
|
Represents a polygon.
The number of vertices is arbitrary. A eVision.Legacy.EPolygon could be closed (last and first point connected) or open (like a polyline shape).
Remarks:
License(s): BasicTypes