TriangleIsosGen
The general case of an isosceles triangle.
Type members
Types
Value members
Inherited methods
The centre of the bounding rectangle. consider also using cenDefault.
The centre of the bounding rectangle. consider also using cenDefault.
- Inherited from:
- BoundedElem
Currently throws, not sure if that is the correct behaviour. Creates a bounding rectangle for a collection of 2d points
Currently throws, not sure if that is the correct behaviour. Creates a bounding rectangle for a collection of 2d points
- Definition Classes
- Inherited from:
- Polygon
The width of the BoundingRect of this object.
The width of the BoundingRect of this object.
- Inherited from:
- BoundedElem
If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.
If the geometric element has a defined centre then the cenDefault uses that, else it defaults to the centre of the bounding rectangle.
- Inherited from:
- BoundedElem
The centre point of this Polygon. The default centre for Polygons is the centre of the bounding rectangle.
The centre point of this Polygon. The default centre for Polygons is the centre of the bounding rectangle.
- Inherited from:
- Polygon
Creates a PolygonCompound graphic that is active with a simple 1 colour fill and has a draw graphic for the Polygon. The default values for the draw area line width of 2 and a colour of Black.
Creates a PolygonCompound graphic that is active with a simple 1 colour fill and has a draw graphic for the Polygon. The default values for the draw area line width of 2 and a colour of Black.
- Inherited from:
- Polygon
- Inherited from:
- Polygon
- Inherited from:
- Polygon
- Inherited from:
- Polygon
- Inherited from:
- Polygon
Insert vertices before the specified insertion vertex.
Insert vertices before the specified insertion vertex.
- Inherited from:
- Polygon
Map this collection of data elements to PolygonLike class of type BB.
Map this collection of data elements to PolygonLike class of type BB.
- Inherited from:
- PolygonLike
- Inherited from:
- Polygon
Determines if the parameter point lies inside this Polygon.
Determines if the parameter point lies inside this Polygon.
- Inherited from:
- Polygon
Uniform scaling 2D geometric transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.
Uniform scaling 2D geometric transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling.
- Definition Classes
- Inherited from:
- Triangle
The X component of the centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.
The X component of the centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.
- Definition Classes
- Inherited from:
- Triangle
The Y component of the centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.
The Y component of the centre or half way point of side 1 of this polygon. Side 1 starts at the vLast vertex and ends at the v1 vertex. This can be thought of as vertex 0.5.
- Definition Classes
- Inherited from:
- Triangle
The X component of the centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.
The X component of the centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.
- Definition Classes
- Inherited from:
- Triangle
The Y component of the centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.
The Y component of the centre or half way point of side 3 of this polygon. Side 3 starts at the v2 vertex and ends at the v3 vertex. This can be thought of as vertex 2.5.
- Definition Classes
- Inherited from:
- Triangle
Polygon side 0 from vertex 0 to vertex 1.
Polygon side 0 from vertex 0 to vertex 1.
- Inherited from:
- Polygon3Plus
Polygon side 1 from vertex 1 to vertex 2.
Polygon side 1 from vertex 1 to vertex 2.
- Inherited from:
- Polygon3Plus
Polygon side 2 from vertex 2 to vertex 3.
Polygon side 2 from vertex 2 to vertex 3.
- Inherited from:
- Polygon3Plus
Translate 2D geometric transformation on a Triangle returns a Triangle. The return type is narrowed in sub classes.
The last vertex. The default convention places this just anti clockwise of 12 oclock.
The last vertex. The default convention places this just anti clockwise of 12 oclock.
- Definition Classes
- Inherited from:
- Polygon3Plus
Returns the vertex of the given index. If the index is out of range, it will just circle round the vertices, so for a triangle -1 gives v2, -2 gives v1, 3 gives v0, 4 gives v1 etc. It will not throw unlike the unsafeVert method.
Returns the vertex of the given index. If the index is out of range, it will just circle round the vertices, so for a triangle -1 gives v2, -2 gives v1, 3 gives v0, 4 gives v1 etc. It will not throw unlike the unsafeVert method.
- Inherited from:
- Polygon
This method should be overridden in final classes.
This method should be overridden in final classes.
- Inherited from:
- PolygonLike
flatMap with index to an immutable Arr.
flatMap with index to an immutable Arr.
- Inherited from:
- Polygon
- Definition Classes
- Inherited from:
- Polygon
Checks this polygon has at least 3 vertices.
Checks this polygon has at least 3 vertices.
- Inherited from:
- PolygonLike
This method does nothing if the vertNum < 2. Foreach vertex applies the side effecting function to the previous vertex with each vertex. The previous vertex to the first vertex is the last vertex of the PolygonLike. Note the function signature (previous, vertex) => U follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods'(accumulator, element) => B signature.
This method does nothing if the vertNum < 2. Foreach vertex applies the side effecting function to the previous vertex with each vertex. The previous vertex to the first vertex is the last vertex of the PolygonLike. Note the function signature (previous, vertex) => U follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods'(accumulator, element) => B signature.
- Definition Classes
- Inherited from:
- Polygon