搜索资源列表
GetDistenceOfTwoLineP
- 获得两条直线之间的距离~希望能帮助到大家
shumo
- 1.问题的提出:给定一条直线L和n(≤10)个点Ak(k=1,2,…n),都在第一象限内,求L上一点B使到n个给定点的距离之和最短。 2.问题的提出:某水池有M0m3水,其中含盐akg,现以v1 m3/min的速率往水池内注入浓度为pkg/ m3的盐水,同时又以v2 m3/min的速率从水池流出搅拌均匀的盐水. 试模拟水池的动态变化过程
一个非常好用的Autocad工具集
- ********************************************************* * AyungerStudio AutoCAD-Tools 更新日期: 2010.02.01 * ********************************************************* 这是本人近年来独自开发的一个AutoCAD修改工具集合,现与各位共享,主要包括: 1、 绘制类: 箭头、示坡线、锥坡线、剖断线、垂线、切线、等高线加
Geometer.rar
- 线段及直线的基本运算 1. 点与线段的关系 2. 求点到线段所在直线垂线的垂足 3. 点到线段的最近点 4. 点到线段所在直线的距离 5. 点到折线集的最近距离 6. 判断圆是否在多边形内 7. 求矢量夹角余弦 8. 求线段之间的夹角 9. 判断线段是否相交 10.判断线段是否相交但不交在端点处 11.求点关于某直线的对称点 12.判断两条直线是否相交及求直线交点 13.判断线段是否相交,
mirror
- 本程序是点关于直线的各种操作,包括点到直线的距离,以及点关于直线对称等操作-This procedure is a point on the linear range of operation, including point to the straight-line distance, as well as the symmetrical point on the straight-line operation, etc.
HitTestLine
- 测试鼠标是否点击到直线上。仅仅是提供了一个函数,有需要的朋友只需要载入这个函数即可。 计算的方法是利用点到直线的距离公式。-Test whether the mouse click to the line. Merely provides a function, a friend in need this function only needs to load. Method of calculation is the use of point to line distance formul
p01
- 1、设计一个程序,其中有3个类,即CBank,BBank和GBank,分别为中国银行类、工商银行类和农业银行类。每个类都包含一个私有数据balance,用于存放储户在该行的存款数,另有一个友元函数total用于计算储户在这3家银行中的总存款数。 2、设计一个程序,其中有2个类,Point类为点类,包含2个私有数据x和y,表示点的坐标,line类为直线类,包含3个私有数据a,b和c,表示直线方程ax+by+c=0。另有一个友元函数dist,用于计算一个点到直线的距离。点与直线之间的距离计算公式
runwithwall
- 主要利用五个声纳15,0,1,2,3号声纳,我们设定它沿一边墙走。设声纳探测到的距离为d,d0、d15主要是负责机器人走直线,其他的就负责机器人遇到的特殊情况,比如说进入一个拐角会怎么样,这就需要我们设一定的预值,以防撞墙。 我们绘出的是机器人在全局坐标系下墙的位置如下,这中间涉及到一个机器人坐标系与全局坐标系的转化问题 -Mainly use the number five sonar sonar 15,0,1,2,3, we set it to go along the side o
distancebetweenonepointandline
- 用OpenGL绘制任一点点到任意直线的距离-Draw any straight line a little bit of distance to any
frminput
- 圆到直线段距离的计算及所在坐标的定位,需输入点的坐标-grid divide
12
- 已知点 然后求点到直线的距离 有几个点的问题-Known points and then find the distance between point to a line there are several points of
bufengtouzhen
- 布冯投针 找一根铁丝弯成一个圆圈,使其直径恰恰等于平行线间的距离d。可以想象得到,对于这样的圆圈来说,不管怎么扔下,都将和平行线有两个交点。因此,如果圆圈扔下的次数为n次,那么相交的交点总数必为2n。 现在设想把圆圈拉直,变成一条长为πd的铁丝。显然,这样的铁丝扔下时与平行线相交的情形要比圆圈复杂些,可能有4个交点,3个交点,2个交点,1个交点,甚至于都不相交。 由于圆圈和直线的长度同为πd,根据机会均等的原理,当它们投掷次数较多,且相等时,两者与平行线组交点的总数可望也是一样的。这就是说,
distPoint2Line
- 求到直线的距离 直线包括垂直坐标系下任何直线-distance of point to line
DistancePointToLine
- 用C写的程序,求三维空间中点到直线距离。 用C写的程序,求三维空间中点到直线距离。-Program written in C, find the midpoint of the three-dimensional space to the straight line distance. Program written in C, find the midpoint of the three-dimensional space to the straight line distance.
Geometry
- 包含了点的基本运算 1. 平面上两点之间距离 2. 判断两点是否重合 3. 矢量叉乘 4. 矢量点乘 2 5. 判断点是否在线段上 2 6. 求一点饶某点旋转后的坐标 2 7. 求矢量夹角 2 ㈡ 线段及直线的基本运算 1. 点与线段的关系 3 2. 求点到线段所在直线垂线的垂足 3. 点到线段的最近点 4. 点到线段所在直线的距离 5. 点到折线集的最近距离 6. 判断圆是否在多边形内 5 7. 求
Lesson1Frame
- 在计算机建模中,用OPENGL的方法,计算点到直线的距离。-In computer modeling, using OPENGL method in calculating the points to the straight line distance.
distance
- 求点到直线的距离,控制台实现,可直接使用VC6.0打开。-distance of line and point
DistancePointTOLine
- 已知三维空间直线上的两点,求取线外一点到直线的距离-Known three dimensional straight line on the two points, to take a point outside the line to a straight line
LineChkPoint
- 点到直线的最短距离的判断 点(x0,y0) 到由两点组成的线段(x1,y1) ,( x2,y2 )(The point of judging the shortest distance from a point to a straight line (x0, Y0) is the line segment (x1, Y1) consisting of two points, (X2, Y2).)
Desktop
- 简单的算法实现线段到线段的距离以及直线到直线的距离,在VC++6.0上直接运行(Simple algorithm to realize the distance between line segment and line segment and the distance from straight line to straight line, and run directly on VC++6.0.)