Adds object(s) to the scene.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public void Add(
	Plane plane,
	Scene..::.Layer layer,
	double edgeLength,
	byte color
)
Visual Basic (Declaration)
Public Sub Add ( _
	plane As Plane, _
	layer As Scene..::.Layer, _
	edgeLength As Double, _
	color As Byte _
)
Visual C++
public:
void Add(
	Plane^ plane, 
	Scene..::.Layer^ layer, 
	double edgeLength, 
	unsigned char color
)

Parameters

plane
Type: ceometric.VectorGeometry..::.Plane
A plane.
layer
Type: ceometric.VectorGeometry..::.Scene..::.Layer
A layer the plane lies on.
edgeLength
Type: System..::.Double
The length of an edge of the plane.
color
Type: System..::.Byte
A color value between [1, 255] defining a color different from the layer color.
  • 1: red
  • 2: yellow
  • 3: green
  • 4: cyan
  • 5: blue
  • 6: magenta
  • 7: white

Remarks

A scene plane will be drawn as a quadratic face with edge length edgeLength, where the Point of the plane lie in the center of the face.

See Also