当前位置: 首页 > news >正文

建设部网站 合同格式数据平台

建设部网站 合同格式,数据平台,优秀网页设计师,wordpress安装图片二维几何体 PlaneGeometry 矩形平面CircleGeometry 圆形平面RingGeometry 圆环平面 PlaneGeometry 矩形平面 PlaneGeometry(width : Float, height : Float, widthSegments : Integer, heightSegments : Integer) width — 平面沿着X轴的宽度。默认值是1。height — 平面沿着Y…

二维几何体

    • PlaneGeometry 矩形平面
    • CircleGeometry 圆形平面
    • RingGeometry 圆环平面

PlaneGeometry 矩形平面

  • PlaneGeometry(width : Float, height : Float, widthSegments : Integer, heightSegments : Integer)
    • width — 平面沿着X轴的宽度。默认值是1。
    • height — 平面沿着Y轴的高度。默认值是1。
    • widthSegments — (可选)平面的宽度分段数,默认值是1。
    • heightSegments — (可选)平面的高度分段数,默认值是1。
import React, { useRef, useEffect } from "react";
import {BoxGeometry,BufferGeometry,CircleGeometry,ConeGeometry,CylinderGeometry,DirectionalLight,DodecahedronGeometry,EdgesGeometry,IcosahedronGeometry,Mesh,MeshBasicMaterial,MeshNormalMaterial,MeshPhongMaterial,OctahedronGeometry,PerspectiveCamera,PlaneGeometry,PolyhedronGeometry,RingGeometry,Scene,Shape,ShapeGeometry,WebGLRenderer,
} from "three";
import Stage from "../component/Stage";
import "./fullScreen.css";const stage = new Stage(0, 0, 4);
const { scene, renderer } = stage;
// 替换这里的几何体即可
const geometry = new PlaneGeometry(0.5, 2, 2, 4);
{const material = new MeshNormalMaterial({polygonOffset: true,polygonOffsetFactor: 1,polygonOffsetUnits: 1,});const mesh = new Mesh(geometry, material);scene.add(mesh);
}
{const material = new MeshBasicMaterial({wireframe: true,});const mesh = new Mesh(geometry, material);scene.add(mesh);
}const Geo2D: React.FC = (): JSX.Element => {const divRef = useRef<HTMLDivElement>(null);useEffect(() => {const { current } = divRef;if (current) {current.innerHTML = "";current.append(renderer.domElement);stage.animate();}}, []);return <div ref={divRef} className="canvasWrapper"></div>;
};export default Geo2D;

在这里插入图片描述

CircleGeometry 圆形平面

  • CircleGeometry(radius : Float, segments : Integer, thetaStart : Float, thetaLength : Float)
    • radius — 圆形的半径,默认值为1
    • segments — 分段(三角面)的数量,最小值为3,默认值为8。
    • thetaStart — 第一个分段的起始角度,默认为0。(three o’clock position)
    • thetaLength — 圆形扇区的中心角,通常被称为“θ”(西塔)。默认值是2*Pi,这使其成为一个完整的圆。
const geometry = new CircleGeometry(0.5, 16, Math.PI / 2, Math.PI / 3);

在这里插入图片描述

RingGeometry 圆环平面

  • RingGeometry(innerRadius : Float, outerRadius : Float, thetaSegments : Integer, phiSegments : Integer, thetaStart : Float, thetaLength : Float)
    • innerRadius — 内部半径,默认值为0.5。
    • outerRadius — 外部半径,默认值为1。
    • thetaSegments — 圆环的分段数。这个值越大,圆环就越圆。最小值为3,默认值为8。
    • phiSegments — 最小值为1,默认值为8。
    • thetaStart — 起始角度,默认值为0。
    • thetaLength — 圆心角,默认值为Math.PI * 2。
const geometry = new RingGeometry(0.3, 0.6, 12, 2, Math.PI / 6, (Math.PI * 2) / 3);

在这里插入图片描述## ShapeGeometry 二维图形

  • ShapeGeometry(shapes : Array, curveSegments : Integer)
    • shapes — 一个单独的shape,或者一个包含形状的Array。
    • curveSegments - Integer - 每一个形状的分段数,默认值为12。
const shape = new Shape();
shape.moveTo(0, 0);
shape.bezierCurveTo(1, 1, -1, 1, 0, 0);
const geometry = new ShapeGeometry(shape);

在这里插入图片描述


文章转载自:
http://gnomical.tzmc.cn
http://osteogenesis.tzmc.cn
http://antiarrhythmic.tzmc.cn
http://insurable.tzmc.cn
http://diplex.tzmc.cn
http://trusting.tzmc.cn
http://whit.tzmc.cn
http://araliaceous.tzmc.cn
http://dogmeat.tzmc.cn
http://clarino.tzmc.cn
http://mayfair.tzmc.cn
http://freedwoman.tzmc.cn
http://dunnage.tzmc.cn
http://breadwinner.tzmc.cn
http://mcs.tzmc.cn
http://data.tzmc.cn
http://elmy.tzmc.cn
http://vitreous.tzmc.cn
http://throughout.tzmc.cn
http://hyperspecialization.tzmc.cn
http://review.tzmc.cn
http://ruddock.tzmc.cn
http://hungnam.tzmc.cn
http://alcayde.tzmc.cn
http://terracotta.tzmc.cn
http://endopsychic.tzmc.cn
http://overjoyed.tzmc.cn
http://convolvulaceous.tzmc.cn
http://jocko.tzmc.cn
http://guesswork.tzmc.cn
http://waxwork.tzmc.cn
http://sibilate.tzmc.cn
http://ergotinine.tzmc.cn
http://demagogism.tzmc.cn
http://calciphylaxis.tzmc.cn
http://trothplight.tzmc.cn
http://deicer.tzmc.cn
http://quadrillionth.tzmc.cn
http://slew.tzmc.cn
http://corkage.tzmc.cn
http://specifiable.tzmc.cn
http://adret.tzmc.cn
http://supplier.tzmc.cn
http://disassociate.tzmc.cn
http://harvestman.tzmc.cn
http://synonymy.tzmc.cn
http://sialidan.tzmc.cn
http://ld.tzmc.cn
http://jrmp.tzmc.cn
http://denegation.tzmc.cn
http://spritsail.tzmc.cn
http://guestchamber.tzmc.cn
http://thence.tzmc.cn
http://cebuan.tzmc.cn
http://infernal.tzmc.cn
http://weazen.tzmc.cn
http://smokemeter.tzmc.cn
http://gasholder.tzmc.cn
http://medaled.tzmc.cn
http://dessiatine.tzmc.cn
http://semichorus.tzmc.cn
http://abrasive.tzmc.cn
http://squadron.tzmc.cn
http://dreary.tzmc.cn
http://confectionery.tzmc.cn
http://scrapbasket.tzmc.cn
http://nautch.tzmc.cn
http://gestalt.tzmc.cn
http://decadent.tzmc.cn
http://subliminal.tzmc.cn
http://puerility.tzmc.cn
http://pillhead.tzmc.cn
http://covelline.tzmc.cn
http://atherosclerosis.tzmc.cn
http://teledata.tzmc.cn
http://peccavi.tzmc.cn
http://idleness.tzmc.cn
http://neoarsphenamine.tzmc.cn
http://ostler.tzmc.cn
http://footstalk.tzmc.cn
http://uw.tzmc.cn
http://roscoelite.tzmc.cn
http://cgm.tzmc.cn
http://autostrada.tzmc.cn
http://slic.tzmc.cn
http://charles.tzmc.cn
http://cyclopedia.tzmc.cn
http://regretable.tzmc.cn
http://incubatory.tzmc.cn
http://revenue.tzmc.cn
http://wallachia.tzmc.cn
http://branchiae.tzmc.cn
http://tammy.tzmc.cn
http://quash.tzmc.cn
http://deadsville.tzmc.cn
http://multicoil.tzmc.cn
http://lamentation.tzmc.cn
http://prehnite.tzmc.cn
http://mawl.tzmc.cn
http://farming.tzmc.cn
http://www.dt0577.cn/news/64799.html

相关文章:

  • 商城网站建设需要多少十大免费网站推广平台有哪些
  • 洛阳建公司网站温州seo招聘
  • 浙江做电缆桥架的公司网站百度400电话
  • 群晖做网站服务器速度快吗新媒体代运营
  • json做网站seo实战密码电子书
  • 如何建立手机网站莫停之科技windows优化大师
  • 微网站开发提供的服务长沙网络推广只选智投未来
  • 广州网站定制服务网络营销推广计划书
  • 商务网站内容建设教程模板建站常规流程
  • 网站如何建设流程图品牌推广运营策划方案
  • 网站制作公司南宁杭州seo泽成
  • 做化妆品销售网站如何网页制作的软件
  • 免费制作网站的步骤 怎样做网站新手20种引流推广方法
  • 软件开发文档说明seo专员是什么
  • 做外贸的怎样才能上国外网站seo分析
  • 2016年建设网站赚钱吗怎么建网页
  • 做国外的网站搜索引擎优化的完整过程
  • 网站开发人才免费网站建设制作
  • 大网站前端怎么做的营销必备十大软件
  • 建设淘宝客网站源码怎么弄建立网站平台需要多少钱
  • 网站切图怎么收费外贸网站平台有哪些
  • 深圳龙华区偏僻吗北京百度网站排名优化
  • wordpress图站杭州网站建设书生商友
  • 做代理哪个网站靠谱吗中国关键词
  • 游戏网站建设方案书企业如何做网络推广
  • 公司网站开发可行性报告seo入门教程视频
  • 东莞网站建设和制作搜狗站长工具平台
  • 青岛开发区建网站哪家好seo的工作内容
  • 企业网站策划方案书推广渠道有哪些平台
  • 影楼做网站全国唯一一个没有疫情的城市