# Line Constructors

Sample: KwrLineConstructors

 inertiaAxis (rank: Integer, Body, ...): Line Enables you to determine the inertia axis of a body. Example: `Geometrical Set.1\Line.9 = inertiaAxis (1 , `PartBody`) ` line (Point, Point): Line Creates a line from two points. Example: ```Geometrical Set.1\Line_Point_Point = line (`Geometrical Set.1\Point.1`, `Geometrical Set.1\Point.2`) ``` line (pt: Point, dir: Direction, start: Length, end: Length, orientation: Boolean): Line Creates a line passing through a point and parallel to a direction. The third and fourth arguments are used to specify the start and end points. The last argument allows you to reverse the line direction. Example: ```Geometrical Set.1\Line.13   = line (`Geometrical Set.1\Point.2` , direction (`zx plane`), 0mm, 20mm, false)``` lineangle (crv: Curve, sur: Surface, pt: Point, geodesic: Boolean, start: Length, end: Length, angle: Angle, orientation: Boolean): Line Creates a line passing through a point, tangent to a surface and making a given angle with a curve. When the geodesic argument is set to true, a geodesic line is created (projected) onto the surface. Example: ```Geometrical Set.1\Line.1  = lineangle (Geometrical Set.1\Spline.1 , Geometrical Set.1\Extrude.1 , Geometrical Set.1\Point.4, false, 0mm, 50mm, 80deg, false)``` linetangent (crv: Curve, pt: Point, start: Length, end: Length, orientation: Boolean): Line Creates a line tangent to curve at a given point. Example: ```Geometrical Set.1\Line.11 = linetangent (`Geometrical Set.1\Spline.1`, `Geometrical Set.1\Point.6`,0mm, 30mm, true) ``` linenormal (sur: Surface, pt: Point, start: Length, end: Length, orientation: Boolean): Line Creates a line normal to a surface at a given point. Example: ```linenormal = linenormal (`Geometrical Set.1\Extrude.1` ,`Geometrical Set.1\Point.2` ,10mm,16mm, true) ``` mainnormal (crv: Curve, pt: Point): Line Creates a line normal to a curve at a given point. The line is created  in the plane which contains the tangent vector. Example: ```Geometrical Set.1\Line.10 = mainnormal (`Geometrical Set.1\Spline.1`, `Geometrical Set.1\Point.6`) ``` binormal (crv: Curve, pt: Point): Line Creates a line normal to a curve at a given point. The line is created  in plane which is orthogonal to the tangent vector. Example: `Geometrical Set.1\Line.8 =` ```binormal (`Geometrical Set.1\Spline.1`, `Geometrical Set.1\Point.6`) ```