Skip to content

# PDF3DCrossSection

Namespace: O2S.Components.PDF4NET.Annotations

Defines how a portion of the 3D artwork is clipped for the purpose of showing artwork cross sections.

    public class PDF3DCrossSection

Inheritance Object → PDF3DCrossSection

## Constructors

### PDF3DCrossSection()

Initializes a new PDF3DCrossSection object.

    public PDF3DCrossSection()

## Properties

### CenterOfRotation

Gets or sets the center of rotation of the cutting plane.

    public Double[] CenterOfRotation { get; set; }

Property Value

Double[]
A three element array specifying the center of rotation on the cutting plane in world space coordinates.

### Color

Gets or sets the color for the cutting plane.

    public PDFRgbColor Color { get; set; }

Property Value

PDFRgbColor
A PDFRgbColor that defines the color of the cutting plane.

### IntersectionColor

Gets or sets the color for the cutting plane's intersection with the 3D artwork.

    public PDFRgbColor IntersectionColor { get; set; }

Property Value

PDFRgbColor
A PDFRgbColor that defines the color for the cutting plane's intersection with the 3D artwork.

### Opacity

Gets or sets the opacity of the cutting plane.

    public double Opacity { get; set; }

Property Value

Double
A number in the range [0, 1] indicating the opacity of the cutting plane using a standard additive blend mode.

### Orientation

Gets or sets the orientation of the cutting plane.

    public Object[] Orientation { get; set; }

Property Value

Object[]
A three-element array specifying the orientation of the cutting plane in world space, where each value represents the orientation in relation to the X, Y, and Z axes.

Remarks

Exactly one of the values must be null, indicating an initial state of the cutting plane that is perpendicular to the corresponding axis and clipping all geometry on the positive side of that axis. The other two values must be numbers indicating the rotation of the plane, in degrees, around their corresponding axes. The order in which these rotations are applied should match the order in which the values appear in the array.

### VisibleIntersection

Gets or sets a value indicating the visibility of the intersection of the cutting plane with any 3D geometry.

    public bool VisibleIntersection { get; set; }

Property Value

Boolean
If true, then the intersection is visible. If false, then the intersection is not visible.