Meta.Microsoft.Help.Id
M:Tekla.Structures.Geometry3d.Distance.PointToLineSegment(Tekla.Structures.Geometry3d.Point,Tekla.Structures.Geometry3d.LineSegment)

DistancePointToLineSegment Method

Returns the distance between the given point and line segment.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static double PointToLineSegment(
	Point Point,
	LineSegment LineSegment
)

Parameters

Point
Type: Tekla.Structures.Geometry3dPoint
The point to be used.
LineSegment
Type: Tekla.Structures.Geometry3dLineSegment
The line segment to be used.

Return Value

Type: Double
The distance between the given point and line segment.
See Also