Click or drag to resize
CMVIEWCreateCrookedSection Method
Creates a new crooked section view.

Available since Oasis montaj version: 7.2
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
A crooked section is a section running vertically beneath a path of (X, Y) locations, like a river. This view supports linking to other plan, section, or 3D views. The data view coordinates are set up so that vertical coordinate corresponds to elevation, and the X coordinate is the distance along the crooked feature, beginning at zero on the left, but the status bar will show the true (X, Y, Z) location. If the scale is set to <define>rDUMMY</define>, then it will be calculated so that the points will all fit horizontally.
Syntax
public static CMVIEW CreateCrookedSection(
	CGXNETCore gxNetShared,
	CMAP map,
	CIPJ ipj,
	string name,
	double x0,
	double y0,
	double xs,
	double ys,
	double scale,
	double v_ex,
	double dist0,
	double elev,
	CVV v_vxs,
	CVV v_vx,
	CVV v_vy
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
map
Type: GeoEngine.Core.GXNetXCMAP
MAP Object
ipj
Type: GeoEngine.Core.GXNetXCIPJ
Geographic projection of input X, Y locations below (without orientation)
name
Type: SystemString
View Name
x0
Type: SystemDouble
Base view bottom left corner X (mm)
y0
Type: SystemDouble
Base view bottom left corner Y (mm)
xs
Type: SystemDouble
Base view size in X (mm)
ys
Type: SystemDouble
Base view size in Y (mm)
scale
Type: SystemDouble
Map horizontal scale (X-axis)
v_ex
Type: SystemDouble
Vertical exaggeration (1.0 is normal, must be >0.0)
dist0
Type: SystemDouble
Starting distance at the left side of the view.
elev
Type: SystemDouble
Elevation at TOP of the view
v_vxs
Type: GeoEngine.Core.GXNetXCVV
Cumulative distances along the secton
v_vx
Type: GeoEngine.Core.GXNetXCVV
True X locations along the section
v_vy
Type: GeoEngine.Core.GXNetXCVV
True Y locations along the section

Return Value

Type: CMVIEW
MVIEW, aborts if creation fails
See Also