Package georegression.struct.shapes
Class Triangle2D_F32
java.lang.Object
georegression.struct.shapes.Triangle2D_F32
- All Implemented Interfaces:
Serializable,MapFormattable
@Generated("georegression.struct.shapes.Triangle2D_F64")
public class Triangle2D_F32
extends Object
implements Serializable, MapFormattable
Triangle in 2D space. Described by 3 vertices/points.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()formatMap(MapPrintFormat format) get(int i) getSide(int i, @Nullable LineSegment2D_F32 side) floatvoidset(int i, float x, float y) voidset(int i, GeoTuple2D_F32<?> p) setTo(float x0, float y0, float x1, float y1, float x2, float y2) setTo(Triangle2D_F32 orig) sideTangent(int i, @Nullable Vector2D_F32 normal) toString()voidzero()Sets the value of all fields to zeroMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ejml.MapFormattable
formatMap
-
Field Details
-
v0
-
v1
-
v2
-
-
Constructor Details
-
Triangle2D_F32
public Triangle2D_F32() -
Triangle2D_F32
public Triangle2D_F32(float x0, float y0, float x1, float y1, float x2, float y2)
-
-
Method Details
-
setTo
-
setTo
-
zero
public void zero()Sets the value of all fields to zero -
get
-
set
public void set(int i, float x, float y) -
set
-
getSide
-
sideTangent
-
maxAbsValue
public float maxAbsValue() -
copy
-
formatMap
- Specified by:
formatMapin interfaceMapFormattable
-
toString
-