gs-json
Version:
gs-JSON is a domain agnostic unifying 3D file format for geometric and semantic modelling (hence the 'gs').
27 lines (26 loc) • 1.01 kB
TypeScript
import { IPolymesh } from "./ifaces_gs";
import { EObjType } from "./enums";
import { Obj } from "./entity_obj";
/**
* Class Polymesh.
* A polymesh is defined by a set of polygonal faces.
* These faces may have arbitrary number of vertices,
* may be concave or convex, and may be planar or non-planar.
* All faces are expected to be connected to one anoter, so that there are no disjoint parts.
* The polymesh will have closed wires along all its naked edges.
* The polymesh may include one or more holes.
* The holes will result in additional naked edges, each with their own wire.
* A polymesh may be part of a group and may have attributes.
*/
export declare class Polymesh extends Obj implements IPolymesh {
/**
* Get the object type: "polymesh".
* @return The polymesh object type.
*/
getObjType(): EObjType;
/**
* Checks if the polymesh is closed.
* @return Return true if the polymesh is closed.
*/
isClosed(): boolean;
}