non-gon
    Preparing search index...

    Interface IGeometry2D

    interface IGeometry2D {
        center: Vector3;
        geometry: any;
        rotation: Vector3;
        segments: number;
        type: GeometryType2D;
        getCenter(): Vector3;
        getGeometry(): any;
        getRotation(): Vector3;
        getSegments(): number;
        getType(): GeometryType2D;
        ProximityQuery(
            geometry: IGeometry3D | IGeometry2D,
            method?: string,
        ): boolean;
        ShortestDistance(geometry: IGeometry3D | IGeometry2D): [Vector3, Vector3];
    }

    Implemented by

    Index

    Properties

    center: Vector3
    geometry: any
    rotation: Vector3
    segments: number

    Methods

    • Function to get the geometry This function calculates each point of the geometry and returns a BufferGeometry object.

      Returns any

      The geometry of the object.

    • Retrieves the segments of the geometry.

      Returns number

      The number of segments in the geometry.