Class GLLineFigure
- Namespace
- SearchAThing.OpenGL.Core
- Assembly
- netcore-opengl-core.dll
Specialization of typed figure within the GLLine primitive.
[JsonObject(MemberSerialization.OptIn)]
public class GLLineFigure : GLFigureTypeBase<GLLine>, IGLLineFigure, IGLFigure, IGLVertexManagerObject, INotifyPropertyChanged
- Inheritance
-
GLLineFigure
- Implements
- Inherited Members
- Extension Methods
Constructors
GLLineFigure(params GLLine[])
Create a line typed figure with the given set of GLLine primitives.
public GLLineFigure(params GLLine[] lines)
Parameters
lines
GLLine[]
GLLineFigure(IEnumerable<GLLine>)
Create a line typed figure with the given set of GLLine primitives.
public GLLineFigure(IEnumerable<GLLine> lines)
Parameters
lines
IEnumerable<GLLine>
Properties
Lines
Enumeration of the line primitives of this figure.
public IEnumerable<GLLine> Lines { get; }
Property Value
PrimitiveType
Enum that describe which type underlying to the instance.
public override GLPrimitiveType PrimitiveType { get; }
Property Value
Methods
CopySpecialized(GLFigureBase)
protected override void CopySpecialized(GLFigureBase other)
Parameters
other
GLFigureBase
MakeInstance()
Create an instance of derived type.
protected override GLFigureBase MakeInstance()
Returns
- See Also
-
Copy()
Mirror(in Matrix4x4)
Create a mirrored figure against given xy plane.
public override GLFigureBase? Mirror(in Matrix4x4 xyPlane)
Parameters
xyPlane
Matrix4x4XY mirror plane.
Returns
- GLFigureBase
Mirrored figure.
SimpleCmd()
Retrieve e simple cmd representation of this figure.
Its a textual representation of figure information useful to regen in a separate tool.
public override string SimpleCmd()