Share

OrientedBox Object


Description

The OrientedBox object is a mathematical utility object that represents a rectangular box. Not like the Box object, the OrientedBox faces are not necessarily parallel to the model XY/XZ/YZ planes.

Methods

Name Description
Contains Determines whether the specified point is contained within this oriented box.
Copy Creates a copy of this OrientedBox object.
GetOrientedBoxData Method that returns the corner point and edges data that define this OrientedBox.
IsDisjoint Determines whether this box does not intersect with the specified oriented box.
PutOrientedBoxData Method that sets the corner point and edges data that define this OrientedBox.

Properties

Name Description
CornerPoint Read-write property that gets and sets the corner point for the OrientedBox object.
DirectionOne Read-write property that gets and sets the vector that defines the first direction and length of the OrientedBox object. When set this value, the new vector should be parallel to the current vector, otherwise an error will occur.
DirectionThree Read-write property that gets and sets the vector that defines the third direction and length of the OrientedBox object. When set this value, the new vector should be parallel to the current vector, otherwise an error will occur.
DirectionTwo Read-write property that gets and sets the vector that defines the second direction and length of the OrientedBox object. When set this value, the new vector should be parallel to the current vector, otherwise an error will occur.

Accessed From

AssemblyComponentDefinition.OrientedMinimumRangeBox, ComponentDefinition.OrientedMinimumRangeBox, ComponentOccurrence.OrientedMinimumRangeBox, ComponentOccurrenceProxy.OrientedMinimumRangeBox, FlatPattern.OrientedMinimumRangeBox, OrientedBox.Copy, PartComponentDefinition.OrientedMinimumRangeBox, PointCloudCrop.BoundingBox, SheetMetalComponentDefinition.OrientedMinimumRangeBox, SurfaceBody.OrientedMinimumRangeBox, SurfaceBodyProxy.OrientedMinimumRangeBox, TransientGeometry.CreateOrientedBox, VirtualComponentDefinition.OrientedMinimumRangeBox, WeldmentComponentDefinition.OrientedMinimumRangeBox, WeldsComponentDefinition.OrientedMinimumRangeBox

Version

Introduced in version 2016

Was this information helpful?