struct
PF2d::Quad(T)
- PF2d::Quad(T)
- PF2d::Points(4)
- Struct
- Value
- Object
Overview
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Defined in:
pf2d/quad.crConstructors
-
.new(p1 : T, p2 : T, p3 : T, p4 : T)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Class Method Summary
-
.[](p1 : T, p2 : T, p3 : T, p4 : T)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Instance Method Summary
-
#%(other)
Applies
%to all points of this shape -
#&*(other)
Applies
&*to all points of this shape -
#&+(other)
Applies
&+to all points of this shape -
#*(other)
Applies
#*to all points of this shape -
#**(other)
Applies
#**to all points of this shape -
#+(other)
Applies
#+to all points of this shape -
#-(other)
Applies
#-to all points of this shape -
#-
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#/(other)
Applies
#/to all points of this shape -
#//(other)
Applies
#//to all points of this shape -
#abs
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#bounding_rect
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#ceil
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#centroid
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#floor
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
- #line_1
- #line_2
- #line_3
- #line_4
- #lines
-
#max_x
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#max_y
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#max_z
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#min_x
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#min_y
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#min_z
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p1 : T
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p1=(p1 : T)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p2 : T
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p2=(p2 : T)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p3 : T
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p3=(p3 : T)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p4 : T
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#p4=(p4 : T)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#point_pointers
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#points
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
-
#round(precision = 0)
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
- #tris
Instance methods inherited from struct PF2d::Points(4)
initialize
initialize
Constructor methods inherited from struct PF2d::Points(4)
new
new
Constructor Detail
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Class Method Detail
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Instance Method Detail
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left
Represents a polygon with 4 points, in a clockwise winding starting from the upper-left