Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: double LambdaOfPointDroppedPerpendicularly(PointD)

  • Declared in: RT.Util.Geometry.EdgeD

Declaration

public double LambdaOfPointDroppedPerpendicularly(
    PointD point
)

Summary

Calculates the projection of the specified point onto the line defined by this edge. Returns the Lambda of this point P, defined by P = Start + Lambda * (End - Start). Hence the lambda is 0 if the projection falls exactly onto the Start point, and 1 if it falls on the End point.