CrystalEdge

References
public class CrystalEdge : IStorable
Immutable edge of a material thumbnail gem.

Constructors

CrystalEdge

#
Deserialize a shape from an archive.
public CrystalEdge(
reader
)

CrystalEdge

#
Create a new crystal edge.
public CrystalEdge(
point0,
Start of edge.
point1,
End of edge.
normal0,
Normal of first adjacent face.
normal1
Normal of second adjacent face.
)

Properties

Normal0

#
Gets the plane of the first adjacent face to this edge.
public Locus Normal0 { get; }

Normal1

#
Gets the plane of the second adjacent face to this edge.
public Locus Normal1 { get; }

Point0

#
Gets the start point of the edge.
public Locus Point0 { get; }

Point1

#
Gets the end point of the edge.
public Locus Point1 { get; }

Visibility

#
Gets the visibility of this edge.
public CrystalVisibility Visibility { get; }

Methods

Render

#
Render this edge to a graphics context.
public void Render(
Graphics
graphics,
guise
)

Store

#
Serialize this shape.
public void Store(
writer
)
Store

Transform

#
Transform this edge.
public CrystalEdge Transform(
Transform
transform
Tranformation.
)
Transformed edge.