Line

Overview

Line 是一个类在Aspose.3D FOSS的.NET中. 继承人: Curve, INamedObject.

多线是由一组具有段的点定义,并通过边缘连接的一条路径,这意味着它也可以是一个连通的线段集合.直线通常是一种线性对象,意思是不能用来表示曲线,为了表示一个曲率,使用NurbsCurve.

本类提供了在.NET 程序中使用 Line 对象的12种方法. 有的方法包括: A3DObject, Entity, FindProperty, FromPoints, GetBoundingBox, GetEntityRendererKey, GetProperty, Line, MakeDefaultIndices, RemoveProperty, SceneObject, SetProperty. 所有公众成员在安装了Aspose.3D FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: Color, ControlPoints, Excluded, Name, ParentNode, ParentNodes,另外还有4个.

Properties

NameTypeAccessDescription
ControlPointsIArrayList<Vector4>Read得到控制点.
Visiblebool阅读/写作得到或设置可见.
SegmentsIList<int[]>Read得到了部分.
ColorVector3阅读/写作得到或设置颜色.
Excludedbool阅读/写作得到或设置排除.
ParentNodesList<Node>Read得到了父节点.
ParentNodeNode阅读/写作获取或设置父节点.
SceneSceneRead得到了现场.
Namestring阅读/写作得到或设置名字.
PropertiesPropertyCollectionRead得到了房地产.

Methods

SignatureDescription
Line()
Line(name: string)
MakeDefaultIndices()生成序列0,1,2,3…..长度-1这样的 ControlPoints 可以作为一个单行使用
FromPoints(points: Vector3[])从点创建一个行.
GetEntityRendererKey()获取在表现器中注册的实体表达器密钥.
Entity(name: string)
GetBoundingBox()得到当前实体在物空间坐标系中的界定框.
SceneObject(name: string)
A3DObject()
RemoveProperty(property: Property)删除动态属性.
GetProperty(property: string)获取指定属性的值.
SetProperty(property: string, value: object?)设置指定属性的值
FindProperty(propertyName: string)找到属性. 它可以是动态属性的 (由 CreateDynamicProperty/SetProperty创建) 或本地属的 ((以其名称识别)

See Also

 中文