Package georegression.struct.line
Class LinePolar2D_F32
java.lang.Object
georegression.struct.line.LinePolar2D_F32
- All Implemented Interfaces:
Serializable,MapFormattable
@Generated("georegression.struct.line.LinePolar2D_F64")
public class LinePolar2D_F32
extends Object
implements Serializable, MapFormattable
Defines a line in 2D space based upon the distance of its closest point to the origin and the angle of a line from the origin to that point. Also referred to as the polar line equation.
Equation:
x*cos(θ) + y*sin(θ) = r
where r is the distance from the closest point on the line to the origin, and θ is
an angle tangent to the line.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatMap(MapPrintFormat format) setTo(float distance, float angle) setTo(LinePolar2D_F32 src) toString()voidzero()Methods 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
-
distance
public float distanceDistance from the origin to the closest point on the line. -
angle
public float angleAngle in radians from the origin to the closest point on the line.
-
-
Constructor Details
-
LinePolar2D_F32
public LinePolar2D_F32(float distance, float angle) -
LinePolar2D_F32
public LinePolar2D_F32()
-
-
Method Details
-
setTo
-
setTo
-
zero
public void zero() -
formatMap
- Specified by:
formatMapin interfaceMapFormattable
-
toString
-