PiDraw API
    Preparing search index...

    Interface PointConstraints

    How a point finds its position: each key is a constraint, and a point has exactly one. The XY are positions in pixels (a Point fits), the distances are in units of the coordinate system.

    interface PointConstraints {
        coordinates: PointConfigCoordinates;
        direction: {
            direction: Line | { A: XY; B: XY };
            distance: number;
            perpendicular?: boolean;
            point: XY;
        };
        evaluation: { fx: Plot; x: PointCoordinateType };
        intersection: { A: Line; B: Line };
        intersectionBetweenCircles: { A: Circle; B: Circle; index: number };
        intersectionWithCircle: { A: Circle; B: Line; index: number };
        middle: { A: XY; B: XY };
        projection: { axis: Line; point: XY };
        symmetry: { A: XY; B: XY | Line };
    }
    Index

    A point given by its coordinates, in units of the coordinate system.

    direction: {
        direction: Line | { A: XY; B: XY };
        distance: number;
        perpendicular?: boolean;
        point: XY;
    }

    Moves from point along an axis, a line (or its normal if perpendicular) or a vector AB (then distance is a factor).

    evaluation: { fx: Plot; x: PointCoordinateType }

    The point of the curve fx at the abscissa x, in units of the coordinate system. No position where fx is not defined.

    intersection: { A: Line; B: Line }

    The common point of two lines or axes. No position if they are parallel.

    intersectionBetweenCircles: { A: Circle; B: Circle; index: number }

    index is the rank (0 or 1) of the intersection among the two. No position if there is no such intersection.

    intersectionWithCircle: { A: Circle; B: Line; index: number }

    index is the rank (0 or 1) of the intersection among the two. No position if there is no such intersection.

    middle: { A: XY; B: XY }

    The middle of two points.

    projection: { axis: Line; point: XY }

    The foot of the perpendicular from point to a line or an axis.

    symmetry: { A: XY; B: XY | Line }

    The symmetric of A about a point, a line or an axis.