BoundingBox

Vue d’ensemble

‘BoundingBox’ est une classe dans Aspose.3D FOSS pour Typescript.

Cette classe fournit 8 méthodes pour travailler avec les objets BoundingBox dans des programmes de type. Les méthodologies disponibles comprennent: constructor, contains , ‘infinite’, merge et null ; overlapsWith; scale : toString. Tous les membres publics sont accessibles à n’importe quelle application TypeScript après avoir installé l’Aspose.3D FOSS pour le package TypeCrypt. Propriétés : center., extent.

Description

‘BoundingBox’ est une classe dans la bibliothèque Aspose.3D FOSS pour TypeScript qui expose 7 méthodes et 29 propriétés pour l’utilisation programmatique.

Les fonctionnalités de base comprennent : : nombre; : nombre' ;. ces opérations permettent aux développeurs d’intégrer directement la fonction de boîte-barre dans les applications TypeScript.

La classe fournit également la propriété x (ghett le x), la «y » (gett l’y), et la »z » propriétés (gets le z).

La classe propose 4 surcharges constructeurs, permettant une initialisation flexible en fonction du contexte de l’appel.

Propriétés

NameTypeAccessDescription
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
minimum{ x: number; y: number; z: number }ReadGets the minimum.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
maximum{ x: number; y: number; z: number }ReadGets the maximum.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
center{ x: number; y: number; z: number }ReadGets the center.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
size{ x: number; y: number; z: number }ReadGets the size.
x: numberReadGets the x.
y: numberReadGets the y.
z: numberReadGets the z.
extentBoundingBoxExtentReadGets the extent.

méthodes

SignatureDescription
constructor()Calls constructor on this BoundingBox instance.
constructor(minimum: { x: number; y: number; z: number }, maximum: { x: number; y: number; z: number })Calls constructor(minimum, maximum) on this BoundingBox instance.
constructor(minX: number, minY: number, minZ: number, maxX: number, maxY: number, maxZ: number)Calls constructor(minX, minY, minZ, maxX, maxY, maxZ) on this BoundingBox instance.
constructor()
null() → BoundingBoxCalls null on this BoundingBox instance.
infinite() → BoundingBoxCalls infinite on this BoundingBox instance.
merge()Calls merge on this BoundingBox instance.
contains(arg: any) → booleanCalls contains(arg) on this BoundingBox instance.
overlapsWith(box: BoundingBox) → booleanCalls overlapsWith(box) on this BoundingBox instance.
scale() → numberCalls scale on this BoundingBox instance.
toString() → stringCalls toString on this BoundingBox instance.

Voir aussi

  • Aspose.3D - référence API d’entreprise
 Français