LineCoefs

Inheritance: java.lang.Object

public class LineCoefs

Line equation in slope form http://en.wikipedia.org/wiki/Line_%28geometry%29

Constructors

Constructor Description
LineCoefs(System.Drawing.Point aFrom, System.Drawing.Point aTo) Initializes a new instance of LineCoefs by line equation in slope form
LineCoefs(System.Drawing.PointF aFrom, System.Drawing.PointF aTo) Initializes a new instance of LineCoefs by line equation in slope form
LineCoefs(double aK, double aB, double aAngle)

Methods

Method Description
equals(Object arg0)
getAngle() Return line angle = atan(k)
getB() Return b coefficient
getClass()
getK() return k coefficient
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LineCoefs(System.Drawing.Point aFrom, System.Drawing.Point aTo)

public LineCoefs(System.Drawing.Point aFrom, System.Drawing.Point aTo)

Initializes a new instance of LineCoefs by line equation in slope form

Parameters:

Parameter Type Description
aFrom com.aspose.ms.System.Drawing.Point Start point
aTo com.aspose.ms.System.Drawing.Point End point

LineCoefs(System.Drawing.PointF aFrom, System.Drawing.PointF aTo)

public LineCoefs(System.Drawing.PointF aFrom, System.Drawing.PointF aTo)

Initializes a new instance of LineCoefs by line equation in slope form

Parameters:

Parameter Type Description
aFrom com.aspose.ms.System.Drawing.PointF Start point
aTo com.aspose.ms.System.Drawing.PointF End point

LineCoefs(double aK, double aB, double aAngle)

public LineCoefs(double aK, double aB, double aAngle)

Parameters:

Parameter Type Description
aK double
aB double
aAngle double

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getAngle()

public double getAngle()

Return line angle = atan(k)

Value: The Angle property gets m_Angle data member

Returns: double

getB()

public double getB()

Return b coefficient

Value: The B property gets m_B data member

Returns: double

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getK()

public double getK()

return k coefficient

Value: The K property gets m_K data member

Returns: double

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int