Geometry3dApi
CLASS in nl.bimbase.bimworks.client.apis.
API catalogue · nl.bimbase.bimworks.client.apis · CLASS
Java#
public class Geometry3dApiInheritance and interfaces#
Members#
| Member | Kind | Description |
|---|---|---|
| Geometry3dApi(BimWorksClient) | CONSTRUCTOR | |
| downloadGltf(Set<UUID>, boolean, String) | METHOD | |
| getBounds(UUID) | METHOD | |
| getGeometryMetaData(UUID) | METHOD | |
| downloadGeometryStream(UUID) | METHOD | The 3D viewer's geometry buffer of a model, as the viewer fetches it (a stream, prepared buffer format). The caller closes the stream; the bytes are opaque t… |
| downloadObjectBvh(Set<UUID>) | METHOD | The object BVH the viewer uses for picking. The caller closes the stream. |
| downloadIndexedModel(UUID) | METHOD | The model's indexed GLB (type GLB_1). The caller closes the stream. |
Geometry3dApi(BimWorksClient)#
Java#
public Geometry3dApi(nl.bimbase.bimworks.client.BimWorksClient bimWorksClient)Parameters#
| Name | Type | Description |
|---|---|---|
bimWorksClient |
BimWorksClient |
downloadGltf(Set<UUID>, boolean, String)#
Java#
public java.io.InputStream downloadGltf(java.util.Set<java.util.UUID> versionUuids, boolean onlyOutsideTriangles, java.lang.String bql) throws nl.bimbase.bimworks.client.BimWorksExceptionParameters#
| Name | Type | Description |
|---|---|---|
versionUuids |
java.util.Set<java.util.UUID> |
|
onlyOutsideTriangles |
boolean |
|
bql |
java.lang.String |
getBounds(UUID)#
Java#
public nl.bimbase.geometry.types.AxisAlignedBoundingBox3D getBounds(java.util.UUID versionUuid) throws nl.bimbase.bimworks.client.BimWorksExceptionParameters#
| Name | Type | Description |
|---|---|---|
versionUuid |
java.util.UUID |
getGeometryMetaData(UUID)#
Java#
public com.fasterxml.jackson.databind.JsonNode getGeometryMetaData(java.util.UUID versionUuid) throws nl.bimbase.bimworks.client.BimWorksExceptionParameters#
| Name | Type | Description |
|---|---|---|
versionUuid |
java.util.UUID |
downloadGeometryStream(UUID)#
Java#
public java.io.InputStream downloadGeometryStream(java.util.UUID versionUuid) throws nl.bimbase.bimworks.client.BimWorksExceptionThe 3D viewer's geometry buffer of a model, as the viewer fetches it (a stream, prepared buffer format). The caller closes the stream; the bytes are opaque to the SDK.
Parameters#
| Name | Type | Description |
|---|---|---|
versionUuid |
java.util.UUID |
downloadObjectBvh(Set<UUID>)#
Java#
public java.io.InputStream downloadObjectBvh(java.util.Set<java.util.UUID> versionUuids) throws nl.bimbase.bimworks.client.BimWorksExceptionThe object BVH the viewer uses for picking. The caller closes the stream.
Parameters#
| Name | Type | Description |
|---|---|---|
versionUuids |
java.util.Set<java.util.UUID> |
downloadIndexedModel(UUID)#
Java#
public java.io.InputStream downloadIndexedModel(java.util.UUID versionUuid) throws nl.bimbase.bimworks.client.BimWorksExceptionThe model's indexed GLB (type GLB_1). The caller closes the stream.
Parameters#
| Name | Type | Description |
|---|---|---|
versionUuid |
java.util.UUID |
Inherited members#
java.lang.Object#equals(java.lang.Object)java.lang.Object#toString()java.lang.Object#wait(long)java.lang.Object#wait(long,int)java.lang.Object#wait()java.lang.Object#finalize()java.lang.Object#getClass()java.lang.Object#hashCode()java.lang.Object#clone()java.lang.Object#notify()java.lang.Object#notifyAll()- getBimWorksClient()