Bitbybit Docs
    Preparing search index...

    Class ProjectPointsOnShapeDto<T> (Inputs.OCCT)

    Points, a shape and a direction for shapes.vertex.projectPoints, which casts each point onto the shape along the direction.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    points: Point3[]

    The points to cast onto the shape.

    undefined
    
    shape: T

    The shape the points land on.

    undefined
    
    direction: Vector3

    The direction and reach of the cast as one vector, in model units: hits farther away than its length are not found.

    [0, 10, 0]
    
    projectionType: pointProjectionTypeEnum

    Which hits to keep when a point crosses the shape more than once: all of them, the closest, the farthest, or both of those.

    all