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
angleintin Angle of the rotation to apply to the face object.centerPointin 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
angleintin Angle of the rotation to apply to the face object.centerPointin 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
angleintin Angle of the rotation to apply to the face object.centerPointin 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
angleintin Angle of the rotation to apply to the face object.centerPointin 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
angleInt32in Angle of the rotation to apply to the face object.centerPointin 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
hTrackedFaceID3_TRACKED_FACEin Handle to the TrackedFace object.angleintin Angle of the rotation to apply to the face object.sCenterconst id3FacePoint *in Center of the rotation to apply to the face object.
Returns