Represents a 2D Bézier curve.

Note: Many Bézier operations use bezier-js's.

Hierarchy

Constructors

Properties

p0: Vec3
p1: Vec3
p2: Vec3

Methods

  • Returns true if and only if the given point is contained within this shape.

    epsilon is a small number used to counteract floating point error. Thus, if point is within epsilon of the inside of this shape, containsPoint may also return true.

    The default implementation relies on signedDistance. Subclasses may override this method to provide a more efficient implementation.

    Parameters

    • point: Vec3
    • epsilon: number = Abstract2DShape.smallValue

    Returns boolean

  • Parameters

    Returns {
        parameterValue: number;
        point: Vec3;
    }[]

  • Parameters

    Returns {
        parameterValue: number;
        point: Vec3;
    }

    • parameterValue: number
    • point: Vec3

Generated using TypeDoc

OpenSource licenses