figureone
    Preparing search index...

    Interface OBJ_CubePoints

    Cube options object.

    By default, a cube will be constructed around the origin, with the xyz axes being normal to the cube faces.

    • side number — side length (1)
    • center TypeParsablePoint — center point ([0, 0])
    • transform TypeParsableTransform — transform to apply to all points of cube
    • lines boolean — if true then points representing the 12 edges of the cube will be returned. If false, then points representing two triangles per face (12 triangles, 36 points) and an associated normal for each point will be returned. (false)