A method and terminal for restricting object movement
An object and terminal technology, applied in the field of information visualization, can solve the problems of poor code reusability and lack of generality, and achieve the effect of improving reusability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] Please refer to figure 1 and Figure 3 to Figure 6 , a method of restricting the movement of objects, including:
[0069] S1. Create a restricted area, preset the offset value of object movement, and calculate the overlapping area between the object and the restricted area after the object moves according to the offset value in an unrestricted state;
[0070] Wherein, the creation of the restricted area includes:
[0071] Create a restricted area corresponding to the moving plane type of the object according to the moving plane type of the object, the coordinate minimum point and the coordinate maximum point of the restricted area;
[0072] Specifically, the specific steps for creating a restricted area are as follows:
[0073] (1) define a self-defined class AreaInfo, described AreaInfo is used to store the information of restricted area, including coordinate minimum point, coordinate maximum point, actual restricted area minimum point and actual restricted area max...
Embodiment 2
[0100] Please refer to figure 2 , a terminal 1 for restricting the movement of objects, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and running on the processor 3, the processor 3 implements the first embodiment when executing the computer program steps in .
[0101] To sum up, the present invention provides a method and terminal for restricting the movement of an object, by creating a restricted area, presetting the offset value of the object movement, and calculating the movement of the object according to the offset value in an unrestricted state The overlapping area with the restricted area, specifically: when the object moves to the position in the next frame in the unrestricted state passes through the restricted area or is located in the restricted area, calculate the The overlapping area with the restricted area after moving according to the offset value in the unrestricted state, wherein the overlapping area of the restricted...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com