TrackedFace.rotate Method

Module: TrackedFace

Definition

Rotates the face object by a given angle in degrees from a given center.

rotate(self, angle: int, center: Point) -> None

Parameters

angle int
in Angle of the rotation to apply to the face object.

center Point
in Center of the rotation to apply to the face object.

Exceptions

An error has occurred during Face Library execution.
void rotate(int angle, Point center)

Parameters

angle int
in Angle of the rotation to apply to the face object.

center Point
in Center of the rotation to apply to the face object.

Exceptions

An error has occurred during Face Library execution.
public void Rotate(int angle, Point center)

Parameters

angle int
in Angle of the rotation to apply to the face object.

center Point
in Center of the rotation to apply to the face object.

Exceptions

An error has occurred during Face Library execution.
public void rotate(int angle, Point center) throws FaceException

Parameters

angle int
in Angle of the rotation to apply to the face object.

center Point
in Center of the rotation to apply to the face object.

Exceptions

An error has occurred during Face Library execution.
public func rotate(angle: Int32, center: Point) throws

Parameters

angle Int32
in Angle of the rotation to apply to the face object.

center Point
in Center of the rotation to apply to the face object.

Exceptions

An error has occurred during Face Library execution.
int id3TrackedFace_Rotate (
    ID3_TRACKED_FACE hTrackedFace,
    int angle,
    const id3FacePoint * sCenter)

Parameters

hTrackedFace ID3_TRACKED_FACE
in Handle to the TrackedFace object.

angle int
in Angle of the rotation to apply to the face object.

in Center of the rotation to apply to the face object.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.