Documentation of 'georegression.struct.line.LinePolar2D_F64' Java class
LinePolar2D_F64
georegression.struct.line

Class LinePolar2D_F64

  • All Implemented Interfaces:
    java.io.Serializable


    public class LinePolar2D_F64
    extends java.lang.Object
    implements java.io.Serializable

    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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double angle
      Angle in radians from the origin to the closest point on the line.
      double distance
      Distance from the origin to the closest point on the line.
    • Field Detail

      • distance

        public double distance
        Distance from the origin to the closest point on the line.
      • angle

        public double angle
        Angle in radians from the origin to the closest point on the line.
    • Constructor Detail

      • LinePolar2D_F64

        public LinePolar2D_F64(double distance,
                               double angle)
      • LinePolar2D_F64

        public LinePolar2D_F64()
    • Method Detail

      • getDistance

        public double getDistance()
      • setDistance

        public void setDistance(double distance)
      • getAngle

        public double getAngle()
      • setAngle

        public void setAngle(double angle)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.