Table of Contents

Struct Extrinsics

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents parameters that describe the camera extrinsic properties such as rotation and translation.

public struct Extrinsics : IEquatable<Extrinsics>
Implements
Inherited Members

Fields

Rotation

The camera extrinsic rotations about the x-, y-, and z- axes of the reference coordinate system.

public Point3d Rotation

Field Value

Point3d

Translation

The translation of the camera from the origin of the reference coordinate system.

public Point3d Translation

Field Value

Point3d

Methods

Equals(Extrinsics)

Returns a value indicating whether this instance is equal to the specified Extrinsics structure.

public bool Equals(Extrinsics other)

Parameters

other Extrinsics

The Extrinsics object to compare with this instance.

Returns

bool

true if other represents the same parameter values as this instance; otherwise, false.

Equals(object)

Returns a value indicating whether the specified object is an Extrinsics structure with the same parameter values as this Extrinsics structure.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if obj is an Extrinsics structure and has the same parameter values as this structure; otherwise, false.

GetHashCode()

Returns a hash code for this Extrinsics structure.

public override int GetHashCode()

Returns

int

An integer value that specifies a hash value for this Extrinsics structure.

ToString()

Creates a string representation of this Extrinsics structure.

public override string ToString()

Returns

string

A string containing all the parameter values of this Extrinsics structure.

Operators

operator ==(Extrinsics, Extrinsics)

Indicates whether two Extrinsics structures are equal.

public static bool operator ==(Extrinsics left, Extrinsics right)

Parameters

left Extrinsics

The Extrinsics structure on the left-hand side of the equality operator.

right Extrinsics

The Extrinsics structure on the right-hand side of the equality operator.

Returns

bool

true if left and right have equal parameter values; otherwise, false.

operator !=(Extrinsics, Extrinsics)

Indicates whether two Extrinsics structures are different.

public static bool operator !=(Extrinsics left, Extrinsics right)

Parameters

left Extrinsics

The Extrinsics structure on the left-hand side of the inequality operator.

right Extrinsics

The Extrinsics structure on the right-hand side of the inequality operator.

Returns

bool

true if left and right differ in any of their parameter values; false if left and right are equal.