Cuboid
Returns height distance. Note: This return the input dimensions of the Cuboid, NOT the actual world space dimensions. In other words, if you create a Cuboid width (X-axis) length 10, and transform it to a CoordinateSystem with 2 times scaling in X, the width will still be 10. ASM does not allow you to extract the Vertices of a body in any predictable order, so it impossible to determine the dimensions after a transform.
Returns length distance. Note: This return the input dimensions of the Cuboid, NOT the actual world space dimensions. In other words, if you create a Cuboid width (X-axis) length 10, and transform it to a CoordinateSystem with 2 times scaling in X, the width will still be 10. ASM does not allow you to extract the Vertices of a body in any predictable order, so it impossible to determine the dimensions after a transform.
Returns width distance. Note: This return the input dimensions of the Cuboid, NOT the actual world space dimensions. In other words, if you create a Cuboid width (X-axis) length 10, and transform it to a CoordinateSystem with 2 times scaling in X, the width will still be 10. ASM does not allow you to extract the Vertices of a body in any predictable order, so it impossible to determine the dimensions after a transform.
Create an Cuboid spanning from low Point to high Point.
Create a Cuboid centered at WCS origin, with width, length, and height.
public static Cuboid ByLengths(Point origin, double width = 1, double length = 1, double height = 1)
Create a Cuboid centered at input Point, with specified width, length, and height.
public static Cuboid ByLengths(CoordinateSystem coordinateSystem, double width = 1, double length = 1, double height = 1)
Create a Cuboid centered at WCS origin, with width, length, and height.