EndPoint

概述

EndPoint 是 Aspose.3D FOSS 中用于 Python 的类。

用于修剪曲线的端点,可以是参数值或笛卡尔坐标点。

此类为 Python 程序中的 EndPoint 对象声明了 3 个方法。可用的方法包括:__init__、from_degree、from_radian。在安装了 Aspose.3D FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:as_point、as_value、is_cartesian_point。

属性

名称类型访问描述
is_cartesian_pointbool读取端点是笛卡尔点吗?
as_point"aspose.threed.utilities.Vector3"读取获取端点作为笛卡尔点,或抛出异常。
as_valuefloat读取获取端点作为实数参数,或抛出异常。

方法

签名描述
__init__()在 FOSS 版中未实现——运行时抛出。 Calls init 在此 EndPoint 实例上。
from_degree(degree: float) → "EndPoint"创建以度为单位的端点。
from_radian(degree: float) → "EndPoint"创建以弧度为单位的端点。

另请参阅

 中文