Bitbybit Docs
    Preparing search index...

    Class LinesTangentAtAngleDto<T> (Inputs.OCCT)

    A curve, a straight reference edge, an angle and the plane for shapes.edge.linesTangentAtAngle, which draws every line touching the curve at that angle to the reference.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalreference: T
      • Optionalframe: Bit.Inputs.Base.Frame
      • Optionalangle: number
      • OptionalangularTolerance: number
      • OptionalonArgumentsOnly: boolean

      Returns LinesTangentAtAngleDto<T>

    Properties

    shape: T

    The curved edge the lines touch, lying in the plane.

    undefined
    
    reference: T

    The straight edge the angle is measured from, lying in the plane; each line runs from its touch to where it crosses this edge's line.

    undefined
    

    A frame whose origin and normal give the plane the edges lie in; the angle turns about the normal.

    undefined
    
    angle?: number

    The angle from the reference's direction to the lines, in degrees, turning counterclockwise about the frame's normal.

    45
    

    -Infinity

    Infinity

    1

    angularTolerance?: number

    The tolerance of the search for touching lines, in radians; an angle this close to 0, a right angle or a half turn is taken as exactly that.

    1e-6
    

    0

    true

    Infinity

    0.00001

    onArgumentsOnly?: boolean

    When true, keeps only the lines that touch the curve within its ends and cross the reference within its ends, which leaves out lines parallel to it.

    false