public Box3d ObjectBoundingBox(int objectIndex) { if (objectIndex < 0) { return(VertexIndexArray.GetBoundingBox3d( VertexIndexCount, PositionArray)); } return(BoundingBoxOfFace(objectIndex)); }
public odfBone Clone() { odfBone bone = new odfBone(new ObjectID(FrameId)); bone.AlwaysZero24perIndex = (byte[])AlwaysZero24perIndex.Clone(); bone.VertexIndexArray = (int[])VertexIndexArray.Clone(); bone.WeightArray = (float[])WeightArray.Clone(); bone.Matrix = Matrix; return(bone); }