BoundingBox

Methods

BoundingBox apibrėžia ašies lygią ribinę dėžutę naudojant Minimum ir Maximum FVector3 kampus. Naudojama erdviniams užklausoms ir frustumų išfiltravimo pagalbinėms priemonėms.

Methods

NameTypeAccessDescription
ExtentBoundingBoxExtentReadGets the extent.
MinimumVector3ReadGets the minimum.
MaximumVector3ReadGets the maximum.
SizeVector3ReadGets the size.
CenterVector3ReadGets the center.
NullBoundingBoxReadGets the null.
InfiniteBoundingBoxReadGets the infinite.
SignatureDescription
BoundingBox(minimum: Vector3, maximum: Vector3)Initializes the box with the given minimum and maximum vectors
BoundingBox(minimum: FVector3, maximum: FVector3)
BoundingBox(minX: double, minY: double, minZ: double, maxX: double, maxY: double, maxZ: double)
Scale()Calculates the absolute largest coordinate value of any contained point.
FromGeometry(geometry: Geometry)Construct a bounding box from given geometry
Merge(pt: Vector4)Merge current bounding box with given point
Merge(pt: Vector3)Merge current bounding box with given point
Merge(pt: FVector3)Merge current bounding box with given point
Merge(x: double, y: double, z: double)Merge current bounding box with given point
Merge(bb: BoundingBox)Merge current bounding box with given point
ToString()Gets the string representation of the bounding box.
GetHashCode()Returns the hash code for this instance
Equals(obj: object)Determines if two objects are equal
OverlapsWith(box: BoundingBox)Check if current bounding box overlaps with specified bounding box.
Contains(p: Vector3)Check if the point p is inside the bounding box
Contains(bbox: BoundingBox)Check if the point p is inside the bounding box
Equals(other: BoundingBox)Determines if two objects are equal

Žr. taip pat

 Lietuvių