Click or drag to resize

FoundLine Methods

The FoundLine type exposes the following members.

Methods
 NameDescription
Public methodAngleBetween Retrieves the angle, expressed in degrees, between the two specified lines.
Public methodCalcDistance(dvec3) Calculates the distance between this line and the given point p.
Public methodCalcDistance(PointF) Calculates the distance between this line and the given point p.
Public methodCalcDistance(FoundLine, Boolean, dvec3) Distance between two lines: The distance between two parallel lines 1 and 2 is just the difference R2-R1. This calculation turned out to be instable in case the angles of the lines differ too much. Too much can mean rather small angles if R is big. Therefore another distance definition is used if the flag isMidpointBased is true: This line is the base line which defines the Angle. The given "other" line in the argument is the line we want the distance to know with its start and end points P1 and P2. For the "other line" the mid point M is calculated, and its distance D to the plumb point will be returned as the distance between the lines.
Public methodCalcIntersectionPoint(FoundLine, PointF) Calculates the intersection point of this line with the given line.
Public methodCalcIntersectionPoint(FoundLine, Nullabledvec3, Double) Calculates the intersection point of this line with the given line.
Public methodCloneDeep Creates a deep clone of this object.
(Overrides BaseFoundImageProcessingObjectCloneDeep)
Public methodGetBorderPoints Calculates to this line the intersection points P1 and P2 with the given quadrangle.
               / Line
              /
          P1 /
+-----------+---------+ 
 \         /          |
  \       /           |
   \     /   Quad-    |
    \   /             +
     \ /    rangle   /
   P2 +             /
     / \           /
    /   \         /
   /     \       /
  /       \     /
           \   /
            \ /
             +
Public methodIsCenterEqual Checks if this object has the same center as the other object.
(Inherited from BaseFoundImageProcessingObject)
Public methodLinearFunction Calculates the gradient and y-intercept of the straight line.
Protected methodSetFilter Only for the GUI: Sets a funnel button in front of the displayed property in the result list when the property name is contained in the given string array. The button transfers a value range around the property value into the according value range fields in the dialog.
(Inherited from BaseFoundImageProcessingObject)
Public methodToString Returns the list of all relevant properties as combined string.
(Inherited from BaseFoundImageProcessingObject)
Public methodVector Returns from the two points P1 and P2 of the line the vector P1-P2.
Top
See Also