搜索资源列表
一个非常好用的Autocad工具集
- ********************************************************* * AyungerStudio AutoCAD-Tools 更新日期: 2010.02.01 * ********************************************************* 这是本人近年来独自开发的一个AutoCAD修改工具集合,现与各位共享,主要包括: 1、 绘制类: 箭头、示坡线、锥坡线、剖断线、垂线、切线、等高线加
矩形对象以及Point类成员计算其面积
- 编写C++程序完成以下功能: 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标 观察矩形对象以及Point类成员的构造函数与析购函数计算其面积,并输出 ,The preparation of C++ Process is complete the following functions: the definition of
java
- 创建一个point,用随机函数定义5对坐标(x,y)并储存在一个该类的数组中,安于原点的距离从远到近输出各点的坐标和原点的距离-Create a point, with random function definitions 5 on coordinates (x, y) and stored in a such an array, the distance from the origin of the content with far to nearly output of different
RadarPulseSimulation
- 雷达脉冲压缩仿真程序,带GUI开发源码,雷达一维距离像,匹配滤波,各种加窗函数的仿真图例-Radar pulse compression simulation program with GUI open source, radar, one-dimensional range profile, matched filtering, processing window function of the simulation of Legend
juxing
- 1、 矩形 编写C++程序完成以下功能: (1) 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法; (2) 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法; (3) 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标; (4) 观察矩形对象以及Point类成员的构造函数与析构函数的调用; (5) 计算其面积,并输出。 -1, rectangular write C++ program completed the follo
1
- 设计一个描述点的类,其中包含一对坐标点数据成员、一个求两个点之间距离的友元函数和显示坐标点的成员函数,并编程测试。 解题思路: 计算两点(a,b)和(c,d)之间的距离,依据勾股定理可得公式: 并定义坐标点类的友元函数来计算两点间的距离。 -Design a descr iptive point of the class, which includes a pair of coordinates of points, data members, one for the d
1
- 1、 矩形 编写C++程序完成以下功能: (1) 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法; (2) 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法; (3) 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标; (4) 观察矩形对象以及Point类成员的构造函数与析构函数的调用; (5) 计算其面积,并输出 -1, rectangular prepared C++ Process is complete the f
location
- 设计一个表示直角坐标系上点的位置的Location类,计算两个坐标系上点对象A和B之间的距离。要求用成员函数Distance()求距离。在main()中,分别用对象、指针、引用三种方法定义和使用对象A和B。-Said the design of a Cartesian coordinate system on the location of the point of Location categories, calculated on the two coordinate system obje
youyuan
- 本函数实现的功能是用C++中的友员函数计算两点之间的距离。程序简单使用,欢迎参考。-The function of the realization of this function is in C++ member function of the Friends of the distance between two points. Simple to use, please reference.
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,用于计算一个点到直线的距离。点与直线之间的距离计算公式
Point
- 利用随机函数定义10对(x,y)值,由此创建的Point类实例存入一个数组中,按与原点(0,0)的距离由小到大的顺序输出所有的点及到原点的距离。-Random function is defined using 10 pairs (x, y) value, thus creating the Point class instance into an array, according to the origin (0,0) the order from small to large output
distanceoftwopoint
- 求两点之间的距离,利用了函数的重载,完成实验-Find the distance between two points using the function of overload
agnes
- 此源程序为层次聚类中AGNES聚类法算法部分,测试数据须自己输入,测试前最好先看下源码 测试数据只有2个属性,可根据自己需求修改数据结构体属性个数,与对象间欧式距离计算函数 本源码若算法复杂度有可改进的地方或有BUG请高手指出,计算500条以上的数据时须耐心等待结果 -The source code for the hierarchical clustering algorithm in part AGNES clustering method, the test data requ
RunningRace
- 简单的赛跑程序。用4张图片代表4个选手。通过定时函数,为每个选手随机产生奔跑距离。-Simple race program. With four pictures on behalf of four players. By regular functions, randomly generated for each player to run away.
PCA(test)
- 完整的PCA 人脸识别的应用包括几个步骤:人脸图像预处理;读入人脸库,训练形成 特征子空间;把训练图像和测试图像投影到上一步骤中得到的子空间上;选择一定 的距离函数进行识别-We present an approach to the detection and identification of human faces and describe a working, near-real-time face recognition system which tracks a s
kmeansclustering
- 这种算法,可以将图像分成集群,随机使用 centroide,选择每个像素的距离函数.-This algorithm, the image can be divided into clusters, random use centroide, a distance function for each pixel.
aco
- spd描述子,ACO算法匹配,文件中包含其他的描述子(形状上下文。。。),同时距离函数包括欧式距离和卡方距离(The SPD descr iptor matches the ACO algorithm, and the file contains other descr iptors (shape context) At the same time, the distance function includes Euclidean distance and chi square distance
1Drdf
- 一种颗粒的径向分布函数,即在特定距离发现另一颗粒的概率(The radial distribution function of one type of particles, that is, the probability of finding another particle at a specific distance)
DS
- 基于证据体距离函数的选择和证据支持度的修正的一种改进的合成方法。首先引入明氏距离作为证据体距离函数,求出系统中证据的支持度,然后根据支持度标准差对支持度进行修正,最后利用归一化得到的证据可信度对系统的证据加权平均,再利用DS公式进行合成。实验结果表明,该方法提高了证据的有效性和可靠性。(A modified method is proposed based on the choice of distance function of evidences and correction of the