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
intin Angle of the rotation to apply to the face object.center
Pointin 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
intin Angle of the rotation to apply to the face object.center
Pointin 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
intin Angle of the rotation to apply to the face object.center
Pointin 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
intin Angle of the rotation to apply to the face object.center
Pointin 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
Int32in Angle of the rotation to apply to the face object.center
Pointin 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_FACEin Handle to the TrackedFace object.angle
intin Angle of the rotation to apply to the face object.sCenter
const id3FacePoint *in Center of the rotation to apply to the face object.
Returns