You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
529 B
20 lines
529 B
2 years ago
|
//
|
||
|
// Created by dtouch on 23-5-14.
|
||
|
//
|
||
|
|
||
|
#ifndef RENDERSDF_ROD_H
|
||
|
#define RENDERSDF_ROD_H
|
||
|
|
||
|
#include "Eigen/Eigen"
|
||
|
|
||
|
class RodCrystal {
|
||
|
public:
|
||
|
RodCrystal(Eigen::Matrix<float, Eigen::Dynamic, 3> _rod_points, Eigen::Matrix<int, Eigen::Dynamic, 2> _rod_beams);
|
||
|
Eigen::Matrix<float, Eigen::Dynamic, 3> rod_points; // 所有杆顶点点集
|
||
|
Eigen::Matrix<int, Eigen::Dynamic, 2> rod_beams; // 所有杆的连接方式
|
||
|
Eigen::Matrix<float, Eigen::Dynamic, 3> rod_mid; // 每个杆的中点
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //RENDERSDF_ROD_H
|