ArbitraryProfile

ArbitraryProfile

Tổng quan

ArbitraryProfile là một lớp trong Aspose.3D FOSS cho Java. Kế thừa từ: Profile.

Lớp này cho phép bạn tạo một hồ sơ 2D trực tiếp từ đường cong tùy ý.

Lớp này cung cấp 27 phương thức để làm việc với các đối tượng ArbitraryProfile trong các chương trình Java. Các phương thức khả dụng bao gồm: A3DObject, ArbitraryProfile, Entity, Profile, SceneObject, findProperty, getBoundingBox, getCurve, getEntityRendererKey, getExcluded, getHoles, getName, và 11 phương thức bổ sung. Tất cả các thành viên công khai đều có thể truy cập bởi bất kỳ ứng dụng Java nào sau khi cài đặt gói Aspose.3D FOSS cho Java. Thuộc tính: boundingBox, curve, entityRendererKey, excluded, holes, name, và 4 thuộc tính khác.

Thuộc tính

TênKiểuTruy cậpMô tả
curveCurveĐọcLấy Curve được sử dụng để xây dựng hồ sơ.
holesArrayList<Curve>ĐọcLấy các lỗ của hồ sơ, cũng được biểu diễn dưới dạng đường cong.
boundingBoxBoundingBoxĐọcLấy hộp bao quanh.
parentNodeNodeĐọcLấy nút cha.
parentNodesArrayList<Node>ĐọcLấy các nút cha.
excludedbooleanĐọcLấy các mục bị loại trừ.
entityRendererKeyEntityRendererKeyĐọcLấy khóa renderer thực thể.
sceneSceneĐọcLấy cảnh.
nameStringĐọcLấy tên.
propertiesPropertyCollectionĐọcLấy các thuộc tính.

Phương thức

Chữ kýMô tả
ArbitraryProfile()Phương thức khởi tạo của ArbitraryProfile.
ArbitraryProfile(curve: Curve)Phương thức khởi tạo của ArbitraryProfile với một đường cong ban đầu.
getCurve() → CurveLấy Curve được sử dụng để xây dựng profile.
setCurve(value: Curve)Đặt Curve được sử dụng để xây dựng hồ sơ.
getHoles() → ArrayList<Curve>Lấy các lỗ của profile, cũng được biểu diễn dưới dạng curve.
Profile()Constructor.
getBoundingBox() → BoundingBoxTrả về bounding box.
Entity(name: String)Gọi Entity(name) trên instance ArbitraryProfile này.
getParentNode() → NodeTrả về nút cha.
setParentNode(value: Node)Đặt giá trị nút cha.
getParentNodes() → ArrayList<Node>Trả về các nút cha.
getExcluded() → booleanTrả về phần bị loại trừ.
setExcluded(value: boolean)Đặt giá trị bị loại trừ.
getEntityRendererKey() → EntityRendererKeyTrả về khóa trình render thực thể.
SceneObject()Gọi SceneObject trên thể hiện ArbitraryProfile này.
SceneObject(name: String)Gọi SceneObject(name) trên thể hiện ArbitraryProfile này.
getScene() → SceneTrả về cảnh.
A3DObject()Gọi A3DObject trên đối tượng ArbitraryProfile này.
A3DObject(name: String)Gọi A3DObject(name) trên đối tượng ArbitraryProfile này.
getName() → StringHàm khởi tạo của ArbitraryProfile.
setName(name: String)Đặt giá trị tên.
getProperties() → PropertyCollectionTrả về các thuộc tính.
findProperty(name: String) → PropertyGọi findProperty(name) trên đối tượng ArbitraryProfile này.
getProperty(name: String) → ObjectGọi getProperty(name) trên đối tượng ArbitraryProfile này.
setProperty(name: String, value: Object)Đặt giá trị thuộc tính.
removeProperty(name: String) → booleanGọi removeProperty(name) trên đối tượng ArbitraryProfile này.
removeProperty(property: Property) → booleanGọi removeProperty(property) trên thể hiện ArbitraryProfile này.

Xem thêm

 Tiếng Việt