Docs Home
/
KCL Standard Library
/
Functions
/
sketch2::line

sketch2::lineFunction in std::sketch2

WARNING: This function is experimental and may change or be removed.

Arguments

NameTypeDescriptionRequired
startPoint2dA point in two dimensional space.Yes
endPoint2dA point in two dimensional space.No
midpointPoint2dA point in two dimensional space.No
constructionboolA boolean value.No

Returns

Segment - A segment of a path in a sketch. It may be a line, arc, or other segment type.

Found a typo?