计算几何-点线面形

Posted TQCAI

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了计算几何-点线面形相关的知识,希望对你有一定的参考价值。

1.TOYS

双语描述:

技术分享图片
Calculate the number of toys that land in each bin of a partitioned toy box.
计算一个分区玩具箱每个箱子里的玩具数量。
Mom and dad have a problem - their child John never puts his toys away when he is finished playing with them. They gave John a rectangular box to put his toys in, but John is rebellious and obeys his parents by simply throwing his toys into the box. All the toys get mixed up, and it is impossible for John to find his favorite toys.
妈妈和爸爸有一个问题-他们的孩子约翰从来没有把他的玩具,当他结束了与他们玩。他们给约翰一个长方形的盒子,把他的玩具放在里面,但是约翰很叛逆,服从他的父母,只是把他的玩具扔到盒子里。所有的玩具都搞混了,约翰不可能找到他最喜欢的玩具。
John‘s parents came up with the following idea. They put cardboard partitions into the box. Even if John keeps throwing his toys into the box, at least toys that get thrown into different bins stay separated. The following diagram shows a top view of an example toy box.
约翰的父母想出了如下主意。他们在盒子里放了硬纸板隔板。即使约翰不停地把玩具扔到盒子里,至少把玩具扔进不同的垃圾箱会被分开。下图显示了示例玩具盒的俯视图。
For this problem, you are asked to determine how many toys fall into each partition as John throws them into the toy box.
对于这个问题,你被要求确定有多少玩具落入每个分区,当约翰把它们扔到玩具盒里时。
View Code

 

以上是关于计算几何-点线面形的主要内容,如果未能解决你的问题,请参考以下文章

Ruby | 玩转几何,点线面撑起家居门面

什么是点线面

arcpy创建点线面(孔洞环多部件)要素要素类

cesium 学习 基础绘制(点线面)

Three.js教程:点线网格模型介绍

三维空间中绘制点线面UV贴图,万能的BufferGeometry(three.js实战4)