 | CMVIEWCreateCrookedSection Method |
Creates a new crooked section view.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic 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
)
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
)
Public Shared Function CreateCrookedSection (
gxNetShared As CGXNETCore,
map As CMAP,
ipj As CIPJ,
name As String,
x0 As Double,
y0 As Double,
xs As Double,
ys As Double,
scale As Double,
v_ex As Double,
dist0 As Double,
elev As Double,
v_vxs As CVV,
v_vx As CVV,
v_vy As CVV
) As CMVIEW
Public Shared Function CreateCrookedSection (
gxNetShared As CGXNETCore,
map As CMAP,
ipj As CIPJ,
name As String,
x0 As Double,
y0 As Double,
xs As Double,
ys As Double,
scale As Double,
v_ex As Double,
dist0 As Double,
elev As Double,
v_vxs As CVV,
v_vx As CVV,
v_vy As CVV
) As CMVIEW
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
)
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
)
static member CreateCrookedSection :
gxNetShared : CGXNETCore *
map : CMAP *
ipj : CIPJ *
name : string *
x0 : float *
y0 : float *
xs : float *
ys : float *
scale : float *
v_ex : float *
dist0 : float *
elev : float *
v_vxs : CVV *
v_vx : CVV *
v_vy : CVV -> CMVIEW
static member CreateCrookedSection :
gxNetShared : CGXNETCore *
map : CMAP *
ipj : CIPJ *
name : string *
x0 : float *
y0 : float *
xs : float *
ys : float *
scale : float *
v_ex : float *
dist0 : float *
elev : float *
v_vxs : CVV *
v_vx : CVV *
v_vy : CVV -> CMVIEW
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:
CMVIEWMVIEW, aborts if creation fails
Remarks
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.
See Also