Point3DData#

class ansys.edb.core.geometry.point3d_data.Point3DData(x, y, z)#

Represents a point on a 3D coordinate system.

Methods

Point3DData.distance(other)

Compute the distance from this point to another point.

Point3DData.equals(other[, tolerance])

Compare the equality of two 3D points within a given tolerance.

Point3DData.midpoint(other)

Compute the midpoint of this point and another point.

Attributes

Point3DData.magnitude

float: Magnitude or length of the point.

Point3DData.magnitude_sqr

float: Magnitude-square of the point.

Point3DData.x

Value: X coordinate.

Point3DData.y

Value: Y coordinate.

Point3DData.z

Value: Z coordinate.