Gets a Vector3D giving the distance (and the direction) of the line passing through the given point
and normal to the line defined by linePoint and lineDirection.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static Vector3D GetDistanceFromLine(
Point3D point,
Point3D linePoint,
Vector3D lineDirection
) |
Visual Basic |
---|
Public Shared Function GetDistanceFromLine ( _
point As Point3D, _
linePoint As Point3D, _
lineDirection As Vector3D _
) As Vector3D |
JScript |
---|
public static function GetDistanceFromLine(
point : Point3D,
linePoint : Point3D,
lineDirection : Vector3D
) : Vector3D |
Parameters
- point
- Type: System.Windows.Media.Media3D..::..Point3D
The Point3D which the calculated line must pass through.
- linePoint
- Type: System.Windows.Media.Media3D..::..Point3D
One Point3D belonging to the known line.
- lineDirection
- Type: System.Windows.Media.Media3D..::..Vector3D
A Vector3D giving the direction of the known line.
Return Value
The
Vector3D representing the known line or
ZeroVector if the given parameters
are not valid or the resulting line cannot be calculated.
See Also