Bitbybit Docs
    Preparing search index...

    Class FaceFromPointGridDto (Inputs.OCCT)

    A grid of points for shapes.face.fromPointGrid, which makes a B-spline face through them or near them, with the degrees and the tolerance an approximation keeps to.

    Index

    Constructors

    • Parameters

      • Optionalpoints: Point3[][]
      • Optionalinterpolate: boolean
      • Optionalperiodic: boolean
      • OptionaldegreeMin: number
      • OptionaldegreeMax: number
      • Optionaltolerance: number

      Returns FaceFromPointGridDto

    Properties

    points: Point3[][]

    Rows of equal length, at least two of two points each; the rows step along u and each row runs along v.

    undefined
    
    interpolate?: boolean

    True passes the face through every point at degree 3; false approximates the points within tolerance, smoothing what the tolerance allows.

    true
    
    periodic?: boolean

    Closes the face in u, joining the last row back to the first, which is not repeated; read only when interpolating.

    false
    
    degreeMin?: number

    The lowest degree an approximation may use; read only when approximating.

    3
    

    1

    25

    1

    degreeMax?: number

    The highest degree an approximation may use, at least degreeMin; read only when approximating.

    8
    

    1

    25

    1

    tolerance?: number

    How far an approximation may pass from the points, in model units; read only when approximating.

    1e-3
    

    0

    true

    Infinity

    0.001