API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Geometry3d.Parallel.LineSegmentToLineSegment(Tekla.Structures.Geometry3d.LineSegment,Tekla.Structures.Geometry3d.LineSegment,System.Double)

ParallelLineSegmentToLineSegment Method (LineSegment, LineSegment, Double)

Returns true if the given line segments are parallel within the given angular tolerance.

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static bool LineSegmentToLineSegment(
	LineSegment LineSegment1,
	LineSegment LineSegment2,
	double Tolerance
)

Parameters

LineSegment1
Type: Tekla.Structures.Geometry3dLineSegment
The first line segment to be used.
LineSegment2
Type: Tekla.Structures.Geometry3dLineSegment
The second line segment to be used.
Tolerance
Type: SystemDouble
The angular tolerance (in radians) to be used.

Return Value

Type: Boolean
True if the given line segments are parallel within the given tolerance.
See Also