class Mittsu::Triangle
- Mittsu::Triangle
- Reference
- Object
Defined in:
mittsu/math/triangle.crConstructors
Class Method Summary
-
.barycoord_from_point(point, a, b, c, target = Mittsu::Vector3.new)
static/instance method to calculate barycoordinates based on: http://www.blackpawn.com/texts/pointinpoly/default.html
- .contains_point?(point, a, b, c)
- .normal(a, b, c, target = Mittsu::Vector3.new)
Instance Method Summary
- #a : Mittsu::Vector3
- #a=(a : Mittsu::Vector3)
- #area
- #b : Mittsu::Vector3
- #b=(b : Mittsu::Vector3)
- #barycoord_from_point(point, target = Mittsu::Vector3.new)
- #c : Mittsu::Vector3
- #c=(c : Mittsu::Vector3)
- #clone
- #contains_point?(point)
- #copy(triangle)
- #equals(triangle)
- #midpoint(target = Mittsu::Vector3.new)
- #normal(target = Mittsu::Vector3.new)
- #plane(target = Mittsu::Plane.new)
- #set(a, b, c)
- #set_from_points_and_indices(points, i0, i1, i2)
Constructor Detail
Class Method Detail
static/instance method to calculate barycoordinates based on: http://www.blackpawn.com/texts/pointinpoly/default.html