Documentation

Support

Asset Transformer SDK


User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

Geom

Python API types
Read time 16 minutesLast updated 18 hours ago

AABB

AABB stands for Axis Aligned Bounding Box. It is a bounding volume which is aligned with the axes of the coordinates system. Fields

Type

Name

Default

Description

lowPoint3
highPoint3
Functions accepting this type or a list of this type as a parameter:

AABR

AABR stands for Axis Aligned Bounding Rectangle. It is a bounding surface which is aligned with the axes of the coordinates system. Fields

Type

Name

Default

Description

lowPoint2
highPoint2
Functions accepting this type or a list of this type as a parameter:

Affine

Affine transformation. Fields

Type

Name

Default

Description

originPoint3geom.Point3(0,0,0)
xAxisVector3geom.Vector3(1,0,0)
yAxisVector3geom.Vector3(0,1,0)
zAxisVector3geom.Vector3(0,0,1)
Functions accepting this type or a list of this type as a parameter:

Angle

Angle defines an angle in degree (in scripts). In the GUI, the unit can be modified. Base class: core.Double
Functions accepting this type or a list of this type as a parameter:

Area

Area defines a surface in quadric meters (in scripts). In the GUI, the unit can be modified. Base class: core.Double
Functions accepting this type or a list of this type as a parameter:

Array3

Array of 3 core.Double

Array4

Array of 4 core.Double Functions accepting this type or a list of this type as a parameter:

Axis

Enum of core.Int

Name

Value

X0
Y1
Z2

AxisPlane

Enum of core.Int

Name

Value

YZ0
ZX1
XY2
Functions accepting this type or a list of this type as a parameter:

CameraCalibration

Calibration of a pinhole camera (intrisic+distortion parameters). Fields

Type

Name

Default

Description

radial1Double0
radial2Double0
radial3Double0
tangential1Double0
tangential2Double0
focalXDouble1
focalYDouble1
centerXDouble0
centerYDouble0
skewDouble0

Curvatures

Fields

Type

Name

Default

Description

k1Double0
k2Double0
v1Vector3
v2Vector3

CurvaturesList

List of geom.Curvatures

Distance

Distance defines a distance in millimeters (in scripts). In the GUI, the unit can be modified. Base class: core.Double
Functions accepting this type or a list of this type as a parameter:

DistanceList

List of geom.Distance

ExtendedBox

A box defined by a location and extension sizes. Fields

Type

Name

Default

Description

positionPoint3
extentXDistance1
extentYDistance1
extentZDistance1
Functions accepting this type or a list of this type as a parameter:

GeomEntity

Base class: core.Entity Derived classes:
Functions accepting this type or a list of this type as a parameter:

MBB

MBB stands for Minimum Bounding Box. Base class: geom.OBB
Functions accepting this type or a list of this type as a parameter:

Matrix3

A Matrix3 is a 3x3 Matrix, an homogeneous matrix representing a transformation (translation, rotation, scale) in a 2D coordinates system. Array of 3 geom.Array3

Matrix4

A Matrix4 is a 4x4 Matrix, an homogeneous matrix representing a transformation (translation, rotation, scale) in a 3D coordinates system. Array of 4 geom.Array4 Functions accepting this type or a list of this type as a parameter:

Matrix4List

List of geom.Matrix4 Functions accepting this type or a list of this type as a parameter:

Matrix4ListList

List of geom.Matrix4List

OBB

OBB stands for Oriented Bounding Box. Fields

Type

Name

Default

Description

cornerPoint3
xAxisVector3
yAxisVector3
zAxisVector3
Derived class: MBB
Functions accepting this type or a list of this type as a parameter:

Orientation

An orientation can be normal (True) or inverted (False). Base class: core.Boolean
Functions accepting this type or a list of this type as a parameter:

OrientationList

List of geom.Orientation Functions accepting this type or a list of this type as a parameter:

Point2

A Point2 defines a position in 2D space. Fields

Type

Name

Default

Description

xDouble0
yDouble0
Derived class: Vector2
Functions accepting this type or a list of this type as a parameter:

Point2List

List of geom.Point2

Point2ListList

List of geom.Point2List

Point3

A Point3 defines a position in 3D space. Fields

Type

Name

Default

Description

xDouble0
yDouble0
zDouble0
Derived class: Vector3
Functions accepting this type or a list of this type as a parameter:

Point3List

List of geom.Point3 Functions accepting this type or a list of this type as a parameter:

Point3ListList

List of geom.Point3List

Point4

A Point4 defines a position in 3D space. Fields

Type

Name

Default

Description

xDouble0
yDouble0
zDouble0
wDouble0
Derived class: Vector4

Point4List

List of geom.Point4

Ray

Fields

Type

Name

Default

Description

originPoint3
directionVector3
Functions accepting this type or a list of this type as a parameter:

Vector2

Base class: geom.Point2
Functions accepting this type or a list of this type as a parameter:

Vector3

A Vector3 defines a vector in 3D space. Base class: geom.Point3
Functions accepting this type or a list of this type as a parameter:

Vector3List

List of geom.Vector3 Functions accepting this type or a list of this type as a parameter:

Vector4

Base class: geom.Point4

Vector4I

A Vector4 has 4 int components. Fields

Type

Name

Default

Description

xInt0
yInt0
zInt0
wInt0

Vector4IList

List of geom.Vector4I

Vector4List

List of geom.Vector4

Volume

Volume defines a volume in cubic meters (in scripts). In the GUI, the unit can be modified. Base class: core.Double
Functions accepting this type or a list of this type as a parameter: